1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Clarify user strings section in comment; add stylistic braces.

This commit is contained in:
Aaron van Geffen
2019-11-04 12:09:36 +01:00
parent 71699543dd
commit d3b5214f95
2 changed files with 3 additions and 1 deletions

View File

@@ -208,7 +208,9 @@ std::string KeyboardShortcuts::GetShortcutString(int32_t shortcut) const
String::Append(buffer, sizeof(buffer), formatBuffer);
}
else
{
String::Append(buffer, sizeof(buffer), SDL_GetKeyName(SDL_GetKeyFromScancode(scanCode)));
}
return std::string(buffer);
}

View File

@@ -2608,7 +2608,7 @@ enum
STR_SET_PATROL_AREA = 3445,
STR_CLEAR_PATROL_AREA = 3446,
// 3447--5119 unused
// 3447--5119 reserved for user strings.
STR_OPENRCT2_BEGIN_STRING_ID = 5120,