mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
xzbox: Fix misleading indentation that triggered GCC11 warnings
Change-Id: Ice462ef188dba3bc8ffc46c32142fc29d70e1a68
This commit is contained in:
parent
03695429cf
commit
ebb9090004
1 changed files with 29 additions and 28 deletions
|
|
@ -512,8 +512,9 @@ int zx_kbd_input(char* text/*, int buflen*/)
|
||||||
len_utf8 = rb->utf8length(text);
|
len_utf8 = rb->utf8length(text);
|
||||||
#endif
|
#endif
|
||||||
FOR_NB_SCREENS(l)
|
FOR_NB_SCREENS(l)
|
||||||
|
{
|
||||||
rb->screens[l]->clear_display();
|
rb->screens[l]->clear_display();
|
||||||
|
}
|
||||||
|
|
||||||
/* draw page */
|
/* draw page */
|
||||||
FOR_NB_SCREENS(l)
|
FOR_NB_SCREENS(l)
|
||||||
|
|
@ -533,7 +534,6 @@ int zx_kbd_input(char* text/*, int buflen*/)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* separator */
|
/* separator */
|
||||||
FOR_NB_SCREENS(l)
|
FOR_NB_SCREENS(l)
|
||||||
{
|
{
|
||||||
|
|
@ -581,7 +581,6 @@ int zx_kbd_input(char* text/*, int buflen*/)
|
||||||
}
|
}
|
||||||
cur_blink = !cur_blink;
|
cur_blink = !cur_blink;
|
||||||
|
|
||||||
|
|
||||||
/* highlight the key that has focus */
|
/* highlight the key that has focus */
|
||||||
FOR_NB_SCREENS(l)
|
FOR_NB_SCREENS(l)
|
||||||
{
|
{
|
||||||
|
|
@ -593,7 +592,9 @@ int zx_kbd_input(char* text/*, int buflen*/)
|
||||||
}
|
}
|
||||||
|
|
||||||
FOR_NB_SCREENS(l)
|
FOR_NB_SCREENS(l)
|
||||||
|
{
|
||||||
rb->screens[l]->update();
|
rb->screens[l]->update();
|
||||||
|
}
|
||||||
|
|
||||||
button = rb->button_get_w_tmo(HZ/2);
|
button = rb->button_get_w_tmo(HZ/2);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue