diff options
-rw-r--r-- | apps/plugins/reversi/reversi-gui.c | 2 | ||||
-rw-r--r-- | tools/checkwps/checkwps.c | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index 4f36841322..aca54a1ea3 100644 --- a/apps/plugins/reversi/reversi-gui.c +++ b/apps/plugins/reversi/reversi-gui.c | |||
@@ -207,7 +207,7 @@ struct touchbutton reversi_buttons[TOUCHBUTTON_COUNT] = | |||
207 | false, REVERSI_BUTTON_QUIT, false, "Quit", NULL }, | 207 | false, REVERSI_BUTTON_QUIT, false, "Quit", NULL }, |
208 | 208 | ||
209 | { {.x=0, .y=0, .width=XOFS+BOARD_WIDTH,.height=YOFS+BOARD_HEIGHT, .flags=0, .buffer=0, | 209 | { {.x=0, .y=0, .width=XOFS+BOARD_WIDTH,.height=YOFS+BOARD_HEIGHT, .flags=0, .buffer=0, |
210 | .font=0, .drawmode=DRMODE_SOLID, .fg_pattern=0, .bgpattern=0xFFFF}, | 210 | .font=0, .drawmode=DRMODE_SOLID, .fg_pattern=0, .bg_pattern=0xFFFF}, |
211 | false, REVERSI_BUTTON_MAKE_MOVE, true, NULL, NULL } | 211 | false, REVERSI_BUTTON_MAKE_MOVE, true, NULL, NULL } |
212 | }; | 212 | }; |
213 | #endif | 213 | #endif |
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 |