diff --git a/Source/Contents/ClientTiming.cpp b/Source/Contents/ClientTiming.cpp index 0dec737e..3faba869 100644 --- a/Source/Contents/ClientTiming.cpp +++ b/Source/Contents/ClientTiming.cpp @@ -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;