diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-18 09:43:42 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-18 09:43:42 +0000 |
| commit | 313cfc000bb8841cd4b7348bc55089fb71d8fb64 (patch) | |
| tree | 2879fd7bcd05b68ed9ede8987bc909371bfab18c | |
| parent | 09fce707c117aa4006ca30a5a0bf9eb7a89e2caa (diff) | |
| download | rockbox-313cfc000bb8841cd4b7348bc55089fb71d8fb64.zip rockbox-313cfc000bb8841cd4b7348bc55089fb71d8fb64.tar.gz rockbox-313cfc000bb8841cd4b7348bc55089fb71d8fb64.tar.bz2 rockbox-313cfc000bb8841cd4b7348bc55089fb71d8fb64.tar.xz | |
Correctly auto-save bookmarks when powering off in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7955 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/gui/gwps.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index f06ea5b..6251486 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -567,6 +567,11 @@ long gui_wps_show(void) update_track = true; break; + case SYS_POWEROFF: + bookmark_autobookmark(); + default_event_handler(SYS_POWEROFF); + break; + default: if(default_event_handler(button) == SYS_USB_CONNECTED) return SYS_USB_CONNECTED; |