diff options
Diffstat (limited to 'src/gwin')
-rw-r--r-- | src/gwin/gwin_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin_console.c b/src/gwin/gwin_console.c index 67593557..bca81367 100644 --- a/src/gwin/gwin_console.c +++ b/src/gwin/gwin_console.c @@ -179,7 +179,7 @@ } // Was there a newline, if not delete everything. - if (*p != '\n') { + if (p >= ep) { gcw->bufpos = 0; return; } |