diff options
Diffstat (limited to 'apps/plugins/spacerocks.c')
-rw-r--r-- | apps/plugins/spacerocks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/spacerocks.c b/apps/plugins/spacerocks.c index 91bf7757de..ede67291b0 100644 --- a/apps/plugins/spacerocks.c +++ b/apps/plugins/spacerocks.c | |||
@@ -1929,8 +1929,11 @@ static bool spacerocks_help(void) | |||
1929 | 1929 | ||
1930 | #define PLUGIN_OTHER 10 | 1930 | #define PLUGIN_OTHER 10 |
1931 | static bool ingame; | 1931 | static bool ingame; |
1932 | static int spacerocks_menu_cb(int action, const struct menu_item_ex *this_item) | 1932 | static int spacerocks_menu_cb(int action, |
1933 | const struct menu_item_ex *this_item, | ||
1934 | struct gui_synclist *this_list) | ||
1933 | { | 1935 | { |
1936 | (void)this_list; | ||
1934 | if (action == ACTION_REQUEST_MENUITEM | 1937 | if (action == ACTION_REQUEST_MENUITEM |
1935 | && !ingame && ((intptr_t)this_item)==0) | 1938 | && !ingame && ((intptr_t)this_item)==0) |
1936 | return ACTION_EXIT_MENUITEM; | 1939 | return ACTION_EXIT_MENUITEM; |