From dee9277a09428f9fa75231892d60df42eeffc6b5 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 5 Sep 2009 18:10:41 +0000 Subject: 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 --- apps/gui/yesno.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps') 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); } -- cgit v1.2.3