gEDA-dev: Hi... question about refdes_renum
C P Tarun
tcpip at dhandanought.org
Tue Mar 13 08:50:54 EDT 2007
> I just commented out one line. That's all I did. :(
My one-line chang was here:
# set the default increment for sheets
unless( $pgskip ) { $pgskip = 100; }
I just commented this "unless...." line. That's all. Because of
this line, one branch of the code down below was never being
taken:
if( ! $devcnt{$pre} ) { $devcnt{$pre} = $pgskip ? ($i+1)*$pgskip : 0; }
Here, the $pgskip ? would always eval to true, irrespective of
whether you specified --pgskip in the command-line or not.
My commenting that line above fixed this code branch "bug".
Tarun
--
More information about the geda-dev
mailing list