diff options
author | inmarket <andrewh@inmarket.com.au> | 2019-05-08 09:01:56 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2019-05-08 09:01:56 +1000 |
commit | 127a7cd2a2d6145b808b1960f602cc26cafcb1dd (patch) | |
tree | cc754b7130c08f44f38b9aa37a0d03c65ae73211 /src/gwin | |
parent | 701f697df571f59f31dc4a5c8f9f21ef15ca18f3 (diff) | |
download | uGFX-127a7cd2a2d6145b808b1960f602cc26cafcb1dd.tar.gz uGFX-127a7cd2a2d6145b808b1960f602cc26cafcb1dd.tar.bz2 uGFX-127a7cd2a2d6145b808b1960f602cc26cafcb1dd.zip |
Fix to GWIN console widget
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; } |