File tree Expand file tree Collapse file tree
Marlin/src/lcd/extui/ftdi_eve_touch_ui
ftdi_eve_lib/extended/unicode Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868
6969 utf8_char_t FTDI::get_utf8_char_and_inc (const char *&c) {
7070 utf8_char_t val = *(uint8_t *)c++;
71- if ((val & 0xC0 ) == 0x80 )
71+ if ((val & 0xC0 ) == 0xC0 )
7272 while ((*c & 0xC0 ) == 0x80 )
7373 val = (val << 8 ) | *(uint8_t *)c++;
7474 return val;
7575 }
7676
7777 utf8_char_t FTDI::get_utf8_char_and_inc (char *&c) {
7878 utf8_char_t val = *(uint8_t *)c++;
79- if ((val & 0xC0 ) == 0x80 )
79+ if ((val & 0xC0 ) == 0xC0 )
8080 while ((*c & 0xC0 ) == 0x80 )
8181 val = (val << 8 ) | *(uint8_t *)c++;
8282 return val;
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ void SpinnerDialogBox::show(progmem_str message) {
4949void SpinnerDialogBox::hide () {
5050 CommandProcessor cmd;
5151 cmd.stop ().execute ();
52+ GOTO_PREVIOUS ();
5253}
5354
5455void SpinnerDialogBox::enqueueAndWait (progmem_str message, progmem_str commands) {
@@ -66,7 +67,6 @@ void SpinnerDialogBox::onIdle() {
6667 if (mydata.auto_hide && !commandsInQueue ()) {
6768 mydata.auto_hide = false ;
6869 hide ();
69- GOTO_PREVIOUS ();
7070 }
7171}
7272
You can’t perform that action at this time.
0 commit comments