Changeset 1078 in genesis for tools


Ignore:
Timestamp:
Oct 11, 2003, 1:05:04 PM (21 years ago)
Author:
jasper
Message:

bugje uit default area berekening gehaald; area < 255

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/wleiden.pl

    r1005 r1078  
    472472#  return(12345);
    473473
    474    if ($b eq 16) {return(0);}
    475    if ($c < 128) {return($b * 10)}
    476    else {return(1+($b*10));}
     474   $area=1;
     475   if ($c eq 16) {$area=0;}
     476   elsif ($c < 128) {$area=($b * 10)}
     477   else {$area=(1+($b*10));}
     478   if ($area > 255) {$area/=10;}
     479   return($area);
    477480}
    478481
Note: See TracChangeset for help on using the changeset viewer.