1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2005-11-18 09:43:42 +00:00
parent 09fce707c1
commit 313cfc000b

View file

@ -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;