forked from len0rd/rockbox
Fix warnings. Also fix an error that would occur compiling a logf build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12635 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
11e45a316f
commit
00af7c7b74
1 changed files with 2 additions and 3 deletions
|
|
@ -272,9 +272,8 @@ int kbd_input(char* text, int buflen)
|
||||||
FOR_NB_SCREENS(l)
|
FOR_NB_SCREENS(l)
|
||||||
{
|
{
|
||||||
struct keyboard_parameters *pm = ¶m[l];
|
struct keyboard_parameters *pm = ¶m[l];
|
||||||
struct screen *sc = &screens[l];
|
|
||||||
|
|
||||||
#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 96
|
#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 96
|
||||||
|
struct screen *sc = &screens[l];
|
||||||
|
|
||||||
if (sc->width >= 160 && sc->height >= 96)
|
if (sc->width >= 160 && sc->height >= 96)
|
||||||
{
|
{
|
||||||
|
|
@ -719,7 +718,7 @@ int kbd_input(char* text, int buflen)
|
||||||
screens[l].update();
|
screens[l].update();
|
||||||
|
|
||||||
button = get_action(CONTEXT_KEYBOARD, HZ/2);
|
button = get_action(CONTEXT_KEYBOARD, HZ/2);
|
||||||
#ifdef HAVE_REMOTE_LCD
|
#if NB_SCREENS > 1
|
||||||
button_screen = (get_action_statuscode(NULL) & ACTION_REMOTE) ? 1 : 0;
|
button_screen = (get_action_statuscode(NULL) & ACTION_REMOTE) ? 1 : 0;
|
||||||
#endif
|
#endif
|
||||||
pm = ¶m[button_screen];
|
pm = ¶m[button_screen];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue