summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-05-24 16:09:00 +0000
committerThomas Martitz <kugel@rockbox.org>2009-05-24 16:09:00 +0000
commit6de2f14b2335e5193875121c6eb831639ab1e5e2 (patch)
tree3237ceb04c26a9d8342862b249fe3d216506da37
parent45f72e933a06edeedb30ea1299df83b41e5ba07e (diff)
downloadrockbox-6de2f14b2335e5193875121c6eb831639ab1e5e2.tar.gz
rockbox-6de2f14b2335e5193875121c6eb831639ab1e5e2.zip
Fix FS#10231. The gwps_leave_wps() call at powering down is completely unnecessary anyway as it's meant to prepare the displaying of the next screen, which isn't needed when there's no next screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21067 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/gwps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index fcd7be4fa9..af9cea6419 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -779,7 +779,6 @@ long gui_wps_show(void)
break;
#endif
case SYS_POWEROFF:
- gwps_leave_wps();
default_event_handler(SYS_POWEROFF);
break;