summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/checkwps.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-11-10 10:07:04 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-11-10 10:07:04 +0000
commit34cc4d58ecda65363d0fb588072a8508a4f501db (patch)
treea875b2ba04ff559d16aabbe9e59361b2fb036151 /tools/checkwps/checkwps.c
parentd6812f471fcc1021cc9f1c433f9859c369a12d6f (diff)
downloadrockbox-34cc4d58ecda65363d0fb588072a8508a4f501db.tar.gz
rockbox-34cc4d58ecda65363d0fb588072a8508a4f501db.tar.bz2
rockbox-34cc4d58ecda65363d0fb588072a8508a4f501db.zip
Fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r--tools/checkwps/checkwps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 7d63cb6654..fbbc564a65 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -153,6 +153,7 @@ struct system_status global_status;
int getwidth(void) { return LCD_WIDTH; }
int getheight(void) { return LCD_HEIGHT; }
+int getuifont(void) { return 0; }
#ifdef HAVE_REMOTE_LCD
int remote_getwidth(void) { return LCD_REMOTE_WIDTH; }
int remote_getheight(void) { return LCD_REMOTE_HEIGHT; }
@@ -177,6 +178,7 @@ struct screen screens[NB_SCREENS] =
#endif
.getwidth = getwidth,
.getheight = getheight,
+ .getuifont = getuifont,
#if LCD_DEPTH > 1
.get_foreground=dummy_func2,
.get_background=dummy_func2,
@@ -189,6 +191,7 @@ struct screen screens[NB_SCREENS] =
.lcdwidth=LCD_REMOTE_WIDTH,
.lcdheight=LCD_REMOTE_HEIGHT,
.depth=LCD_REMOTE_DEPTH,
+ .getuifont = getuifont;
.is_color=false,/* No color remotes yet */
.getwidth=remote_getwidth,
.getheight=remote_getheight,