Show ALT as OPTION in keyboard shortcut list

This commit is contained in:
Marijn van der Werf committed 2016-01-12 23:05:03 +01:00
1 parent 2d53c28342
commit a85b2d3982
3 files changed
+6

No files matched your search

+1
View File
@@ -3972,6 +3972,7 @@ STR_5630 :Enable unlocking of scenarios
STR_5631 :Original DLC Parks
STR_5632 :Build your own...
STR_5633 :CMD +
STR_5634 :OPTION +
#############
# Scenarios #
+4
View File
@@ -97,7 +97,11 @@ void keyboard_shortcut_format_string(char *buffer, uint16 shortcutKey)
strcat(buffer, formatBuffer);
}
if (shortcutKey & 0x400) {
#if defined(__APPLE__) && defined(__MACH__)
format_string(formatBuffer, STR_OPTION_PLUS, NULL);
#else
format_string(formatBuffer, STR_ALT_PLUS, NULL);
#endif
strcat(buffer, formatBuffer);
}
if (shortcutKey & 0x800) {
+1
View File
@@ -2258,6 +2258,7 @@ enum {
STR_BUILD_YOUR_OWN_PARKS = 5632,
STR_CMD_PLUS = 5633,
STR_OPTION_PLUS = 5634,
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
STR_COUNT = 32768