Browse Source

Undo last commit it was a bad build on os x.

mingodad 10 years ago
parent
commit
f1f79507d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SquiLu/sqstdlib/sqstdstream.cpp

+ 1 - 1
SquiLu/sqstdlib/sqstdstream.cpp

@@ -35,7 +35,7 @@ SQInteger _stream_read_line(HSQUIRRELVM v) {
                 goto done;
                 goto done;
             }
             }
         }
         }
-        if(read_size >= size) ++m; //eof reached read_size < size ?
+        if(read_size == size) ++m; //eof reached read_size < size ?
     }
     }
 done:
 done:
     read_size += (m*size);
     read_size += (m*size);