Decompile fn_15960 (GameSettingsUI::GetHotkeyText)
Batch #10085 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_15960 GameSettingsUI::GetHotkeyText: logic confirmed by peer review Peer-reviewed-by: cremane, doczeira, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
11822d9e89
commit
faf78fa2b5
1 changed files with 2 additions and 2 deletions
|
|
@ -1544,9 +1544,9 @@ std::string GetHotkeyText(int tab, int index) {
|
|||
HotkeyInfo info;
|
||||
const char* keyText = nullptr;
|
||||
const char* description = nullptr;
|
||||
g_luaScript->Call("GetUserHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description);
|
||||
g_session.m_hotkeyScript->Call("GetUserHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description);
|
||||
if (IsNullOrEmpty(keyText)) {
|
||||
g_luaScript->Call("GetOriginalHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description);
|
||||
g_session.m_hotkeyScript->Call("GetOriginalHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description);
|
||||
}
|
||||
|
||||
std::string text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue