diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-11-25 03:21:09 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2023-11-25 03:21:09 -0500 |
commit | 4e53ec80b55ff7a342f6ad9a3da2ad0dc2ef16f9 (patch) | |
tree | f4d67b7ccdb12c38ed2403a9f0c35424ccdd5f4b | |
parent | 40e685fb7138dbd56855769c3bcd5568f0819f3c (diff) | |
download | rockbox-4e53ec80b55ff7a342f6ad9a3da2ad0dc2ef16f9.tar.gz rockbox-4e53ec80b55ff7a342f6ad9a3da2ad0dc2ef16f9.zip |
[Fix Yellow] root_menu.c
Change-Id: Ib13b54e3d7818746edfd0d13c37328bd90d23b22
-rw-r--r-- | apps/root_menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 360f8ae8ce..5709e7ac42 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -780,10 +780,9 @@ static int load_plugin_screen(char *key) | |||
780 | ret_val = GO_TO_WPS; | 780 | ret_val = GO_TO_WPS; |
781 | else if (ret == PLUGIN_GOTO_PLUGIN) | 781 | else if (ret == PLUGIN_GOTO_PLUGIN) |
782 | { | 782 | { |
783 | if (key == ID2P(LANG_SHORTCUTS) && | 783 | if (key == (char*)LANG_SHORTCUTS && op_entry->lang_id == LANG_OPEN_PLUGIN) |
784 | op_entry->lang_id == ID2P(LANG_OPEN_PLUGIN)) | ||
785 | { | 784 | { |
786 | op_entry->lang_id = ID2P(LANG_SHORTCUTS); | 785 | op_entry->lang_id = LANG_SHORTCUTS; |
787 | } | 786 | } |
788 | continue; | 787 | continue; |
789 | } | 788 | } |