mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Clear the old line buffer when filling the next one in nextLine
This commit is contained in:
committed by
Eldred Habert
parent
379aa8c267
commit
60c03ec1e3
@@ -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