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:
ragnarok-clanker 2026-11-04 22:32:22 +00:00
commit 1c33924a74

View file

@ -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;