summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-09-05 18:10:41 +0000
committerThomas Martitz <kugel@rockbox.org>2009-09-05 18:10:41 +0000
commitdee9277a09428f9fa75231892d60df42eeffc6b5 (patch)
tree1310e473ee23efa99bb0b23cca247bbaf1e5ea66 /apps
parent50c3c76b13daa7f381217ac8564834ede59576f8 (diff)
downloadrockbox-dee9277a09428f9fa75231892d60df42eeffc6b5.tar.gz
rockbox-dee9277a09428f9fa75231892d60df42eeffc6b5.zip
Fix FS#9842 by stopping scrolling before leaving the yesno screen.
Seems there are more of this scrolling problems around. In this case it's a rather old bug actually. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22633 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/yesno.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c
index 756d267c63..5d36bd048c 100644
--- a/apps/gui/yesno.c
+++ b/apps/gui/yesno.c
@@ -185,5 +185,8 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message,
}
if(result_displayed)
sleep(HZ);
+
+ FOR_NB_SCREENS(i) /* stop scrolling before getting out */
+ screens[i].scroll_stop(yn[i].vp);
return(result);
}