summaryrefslogtreecommitdiff
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
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
-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,
185 } 185 }
186 if(result_displayed) 186 if(result_displayed)
187 sleep(HZ); 187 sleep(HZ);
188
189 FOR_NB_SCREENS(i) /* stop scrolling before getting out */
190 screens[i].scroll_stop(yn[i].vp);
188 return(result); 191 return(result);
189} 192}