From eecd14086b897fd435a1dd81770545c437ce5db6 Mon Sep 17 00:00:00 2001 From: duduke Date: Tue, 19 Jan 2016 10:43:33 +0200 Subject: [PATCH] another stupid mistake... --- command_event.c | 2 ++ menu/intl/menu_hash_us.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/command_event.c b/command_event.c index 859036cd55..dd3ec82a6f 100644 --- a/command_event.c +++ b/command_event.c @@ -1311,9 +1311,11 @@ bool event_command(enum event_command cmd) #endif break; case EVENT_CMD_REBOOT: +#if defined(__linux__) && !defined(ANDROID) runloop_msg_queue_push("Rebooting...", 1, 180, true); rarch_ctl(RARCH_CTL_FORCE_QUIT, NULL); system("shutdown -r now"); +#endif break; case EVENT_CMD_RESUME: rarch_ctl(RARCH_CTL_MENU_RUNNING_FINISHED, NULL); diff --git a/menu/intl/menu_hash_us.c b/menu/intl/menu_hash_us.c index 550e34c1fb..85d64a8094 100644 --- a/menu/intl/menu_hash_us.c +++ b/menu/intl/menu_hash_us.c @@ -1247,7 +1247,7 @@ const char *menu_hash_to_str_us(uint32_t hash) case MENU_LABEL_VALUE_SHUTDOWN: return "Shutdown"; case MENU_LABEL_VALUE_REBOOT: - return "Reboot": + return "Reboot"; case MENU_LABEL_VALUE_HELP: return "help"; case MENU_LABEL_VALUE_SAVE_NEW_CONFIG: