1
0
Fork 0

Small fixe for ReadLine stopping too fast when encountering end of file.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@254
This commit is contained in:
Sjoerd van der Berg 2002-09-01 19:53:47 +00:00
parent 98744b3e51
commit 2338468b5b

View file

@ -63,8 +63,8 @@ emptyline:
*cmd_write++=c;
}
} while (c!='\n' && n);
*cmd_write++=0;
if (!n) {
*cmd_write=0;
if (!n && cmd_write==temp) {
delete this;
return false;
}