diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-06 05:55:23 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-06 05:55:23 +0000 |
| commit | 00af7c7b74da0305ac3ec458fbc67c35d3032ed7 (patch) | |
| tree | f0bf534c27f987864dcdda53ca93a06bb7f6dd49 | |
| parent | 11e45a316f5a1330206bed676e6598d52ff97cf2 (diff) | |
| download | rockbox-00af7c7b74da0305ac3ec458fbc67c35d3032ed7.zip rockbox-00af7c7b74da0305ac3ec458fbc67c35d3032ed7.tar.gz rockbox-00af7c7b74da0305ac3ec458fbc67c35d3032ed7.tar.bz2 rockbox-00af7c7b74da0305ac3ec458fbc67c35d3032ed7.tar.xz | |
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
| -rw-r--r-- | apps/recorder/keyboard.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index b20490a..cb27c38 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -272,9 +272,8 @@ int kbd_input(char* text, int buflen) FOR_NB_SCREENS(l) { struct keyboard_parameters *pm = ¶m[l]; - struct screen *sc = &screens[l]; - #if LCD_WIDTH >= 160 && LCD_HEIGHT >= 96 + struct screen *sc = &screens[l]; if (sc->width >= 160 && sc->height >= 96) { @@ -719,7 +718,7 @@ int kbd_input(char* text, int buflen) screens[l].update(); 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; #endif pm = ¶m[button_screen]; |