Fix to GWIN console widget
This commit is contained in:
parent
701f697df5
commit
127a7cd2a2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue