diff options
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r-- | tools/checkwps/checkwps.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index 80b975e479..a0e0e15962 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c | |||
@@ -144,6 +144,11 @@ void* plugin_get_buffer(size_t *buffer_size) | |||
144 | return pluginbuf; | 144 | return pluginbuf; |
145 | } | 145 | } |
146 | 146 | ||
147 | static struct viewport* init_viewport(struct viewport* vp) | ||
148 | { | ||
149 | return NULL; | ||
150 | } | ||
151 | |||
147 | struct user_settings global_settings = { | 152 | struct user_settings global_settings = { |
148 | .statusbar = STATUSBAR_TOP, | 153 | .statusbar = STATUSBAR_TOP, |
149 | #ifdef HAVE_LCD_COLOR | 154 | #ifdef HAVE_LCD_COLOR |
@@ -179,6 +184,7 @@ struct screen screens[NB_SCREENS] = | |||
179 | #else | 184 | #else |
180 | .is_color=false, | 185 | .is_color=false, |
181 | #endif | 186 | #endif |
187 | .init_viewport=init_viewport, | ||
182 | .getwidth = getwidth, | 188 | .getwidth = getwidth, |
183 | .getheight = getheight, | 189 | .getheight = getheight, |
184 | .getuifont = getuifont, | 190 | .getuifont = getuifont, |
@@ -196,6 +202,7 @@ struct screen screens[NB_SCREENS] = | |||
196 | .depth=LCD_REMOTE_DEPTH, | 202 | .depth=LCD_REMOTE_DEPTH, |
197 | .getuifont = getuifont, | 203 | .getuifont = getuifont, |
198 | .is_color=false,/* No color remotes yet */ | 204 | .is_color=false,/* No color remotes yet */ |
205 | .init_viewport=init_viewport, | ||
199 | .getwidth=remote_getwidth, | 206 | .getwidth=remote_getwidth, |
200 | .getheight=remote_getheight, | 207 | .getheight=remote_getheight, |
201 | #if LCD_REMOTE_DEPTH > 1 | 208 | #if LCD_REMOTE_DEPTH > 1 |