mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 15:39:55 +03:00
fix(console): fix improper printing in 'cvarlist' command
This commit is contained in:
1 parent
f6fba9b74c
commit
5bb6123a43
1 file changed
+1
-1
@@ -384,7 +384,7 @@ int32_t CvarListCommandHandler(const char* command, const char* arguments) {
|
||||
char text2[256];
|
||||
|
||||
for (auto cvar = CVar::s_registeredCVars.Head(); cvar != nullptr; cvar = CVar::s_registeredCVars.Next(cvar)) {
|
||||
SStrPrintf(text, sizeof(text), " \"%s\" is \"%s\"", cvar->m_key.m_str, cvar->m_stringValue);
|
||||
SStrPrintf(text, sizeof(text), " \"%s\" is \"%s\"", cvar->m_key.m_str, cvar->m_stringValue.GetString());
|
||||
|
||||
if (cvar->m_defaultValue.GetString()) {
|
||||
if (SStrCmp(cvar->m_stringValue.GetString(), cvar->m_defaultValue.GetString(), STORM_MAX_STR)) {
|
||||
|
||||
Reference in new issue
Block a user