Fix to GWIN console widget
This commit is contained in:
parent
701f697df5
commit
127a7cd2a2
@ -179,7 +179,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Was there a newline, if not delete everything.
|
// Was there a newline, if not delete everything.
|
||||||
if (*p != '\n') {
|
if (p >= ep) {
|
||||||
gcw->bufpos = 0;
|
gcw->bufpos = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user