1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Show ALT as OPTION in keyboard shortcut list

This commit is contained in:
Marijn van der Werf
2016-01-12 23:05:03 +01:00
parent 2d53c28342
commit a85b2d3982
3 changed files with 6 additions and 0 deletions

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) {