diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-11-04 12:10:41 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-11-04 12:10:41 +0000 |
commit | 62decc42e7f6752d786090277ac4b7f2d2036ad4 (patch) | |
tree | 765ec35a93063dfd7503430ee30ec6f631978c9e /apps/onplay.c | |
parent | 4ada9ed2d9f4e1161ed2a9f8937d1e42e90d23df (diff) |
return to the main menu if stop is pressed in the wps context menu, (blame pondlife for the hack :D )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15457 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index a4da371ce7..d4c5579cea 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -81,7 +81,7 @@ static bool clipboard_is_copy = false; #define MAKE_ONPLAYMENU( name, str, callback, icon, ... ) \ static const struct menu_item_ex *name##_[] = {__VA_ARGS__}; \ static const struct menu_callback_with_desc name##__ = {callback,str,icon};\ - static const struct menu_item_ex name = \ + const struct menu_item_ex name = \ {MT_MENU|MENU_HAS_DESC|MENU_EXITAFTERTHISMENU| \ MENU_ITEM_COUNT(sizeof( name##_)/sizeof(*name##_)), \ { (void*)name##_},{.callback_and_desc = & name##__}}; |