summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-10-30 01:24:35 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-10-30 01:24:35 +0000
commita3ed62b36f4d8e4c118bab5f270aa3d73c8c86ec (patch)
tree170f7f5f8fe3f086d1bbb68843e77a0a8ea4a0ab /apps/screen_access.c
parent6934eaf225773b3892897f45a99a792c6aa2756b (diff)
downloadrockbox-a3ed62b36f4d8e4c118bab5f270aa3d73c8c86ec.tar.gz
rockbox-a3ed62b36f4d8e4c118bab5f270aa3d73c8c86ec.tar.bz2
rockbox-a3ed62b36f4d8e4c118bab5f270aa3d73c8c86ec.zip
Corrected a bug on archos with buttonbar which was erased when filetree refreshed (mistake introduced in 2005/10/29 commit; Changed some copyrights in the files (I hope this time will be the good one and the last one ! )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7684 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 8656ee8ace..815bdcfe49 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2005 by Kevin FERRARE
+ * Copyright (C) 2005 by Kevin Ferrare
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
@@ -27,7 +27,6 @@
#include <icons.h>
#include "screen_access.h"
-#include "buttonbar.h"
struct screen screens[NB_SCREENS];
@@ -156,7 +155,7 @@ void screen_update_nblines(struct screen * screen)
int height=screen->height;
if(global_settings.statusbar)
height -= STATUSBAR_HEIGHT;
-#if CONFIG_KEYPAD == RECORDER_PAD
+#ifdef HAS_BUTTONBAR
if(global_settings.buttonbar)
height -= BUTTONBAR_HEIGHT;
#endif