Decompile fn_23638 (CSession::SetHotkeyDescription)
Batch #10839 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_23638 CSession::SetHotkeyDescription: logic confirmed by peer review Peer-reviewed-by: Yommy, dori, StrawberrysherbetIX 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
8226fc977b
commit
1c33924a74
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ void CSession::SetHotkeyDescription(const char* description, int index) {
|
|||
}
|
||||
}
|
||||
|
||||
if (description[0] == '\0') {
|
||||
if (std::strlen(description) == 0) {
|
||||
this->m_hotkeyDescriptions[index] = "nothing";
|
||||
} else {
|
||||
this->m_hotkeyDescriptions[index] = description;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue