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
--


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to