summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-11-16 01:49:41 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-11-16 01:49:41 -0500
commitdfa1539b13c47e02fa96797a1761211ccefde860 (patch)
tree7f953dad4c79398f51d8276d1147b7bb1ffa5d82 /apps
parent7733abce29734fd0d825504b3094f9efe719360b (diff)
downloadrockbox-dfa1539b13c47e02fa96797a1761211ccefde860.tar.gz
rockbox-dfa1539b13c47e02fa96797a1761211ccefde860.zip
Bug Fix test_viewports.c call scroll_stop before changing viewports
Change-Id: I0dd0374dfff7fef7e4f431e7231345ee1ae6cb2b
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/test_viewports.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/test_viewports.c b/apps/plugins/test_viewports.c
index 76f1a9da9b..6eff0249a2 100644
--- a/apps/plugins/test_viewports.c
+++ b/apps/plugins/test_viewports.c
@@ -249,9 +249,11 @@ enum plugin_status plugin_start(const void* parameter)
249 249
250 rb->button_get(true); 250 rb->button_get(true);
251 251
252 rb->screens[SCREEN_MAIN]->scroll_stop();
252 /* Restore the default viewport */ 253 /* Restore the default viewport */
253 rb->screens[SCREEN_MAIN]->set_viewport(NULL); 254 rb->screens[SCREEN_MAIN]->set_viewport(NULL);
254#ifdef HAVE_REMOTE_LCD 255#ifdef HAVE_REMOTE_LCD
256 rb->screens[SCREEN_REMOTE]->scroll_stop();
255 rb->screens[SCREEN_REMOTE]->set_viewport(NULL); 257 rb->screens[SCREEN_REMOTE]->set_viewport(NULL);
256#endif 258#endif
257 259