gentex: bug if last section is only one bit big
authorMartin Perner <martin@perner.cc>
Mon, 25 Oct 2010 13:57:41 +0000 (15:57 +0200)
committerMartin Perner <martin@perner.cc>
Mon, 25 Oct 2010 13:57:41 +0000 (15:57 +0200)
2_isa/gentex.pl

index a36281a3c976fcfe545dcd8e00dba61845ff539a..0e71de358cbd91bcf63016e128d7ab5a93bb0ff6 100755 (executable)
@@ -102,7 +102,7 @@ sub ins {
                        #update count
                        $count -= @fields[0];
 
-                       if($count <= 0) {
+                       if($count < 0) {
                                $nline .= "\\\\ \\hline \n";
                        }
                        else {