mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
Clear the old line buffer when filling the next one in nextLine
This commit is contained in:
1 parent
379aa8c267
commit
60c03ec1e3
1 file changed
+1
@@ -37,6 +37,7 @@ static int
|
||||
retry:
|
||||
++lineNo;
|
||||
int firstChar = getc(file);
|
||||
lineBuf.clear();
|
||||
|
||||
switch (firstChar) {
|
||||
case EOF:
|
||||
|
||||
Reference in new issue
Block a user