fix crash when a file ends with a comment and no newline

This commit is contained in:
Glenn Maynard
2003-02-15 23:16:06 +00:00
parent 93632078c5
commit a954373e67
+1 -1
View File
@@ -69,7 +69,7 @@ void MsdFile::ReadBuf( char *buf, int len )
do {
buf[i] = ' ';
i++;
} while(buf[i] != '\n');
} while(i < len && buf[i] != '\n');
continue;
}