fixes for Code/CryEngine
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -2464,8 +2464,9 @@ void CXConsole::DisplayVarValue(ICVar* pVar)
|
||||
sValue += " (";
|
||||
if (nonAlphaBits != 0)
|
||||
{
|
||||
char nonAlphaChars[3]; // 1..63 + '\0'
|
||||
sValue += azitoa(nonAlphaBits, nonAlphaChars, AZ_ARRAY_SIZE(nonAlphaChars), 10);
|
||||
char nonAlphaChars[3] = { 0 }; // 1..63 + '\0'
|
||||
azitoa(nonAlphaBits, nonAlphaChars, AZ_ARRAY_SIZE(nonAlphaChars), 10);
|
||||
sValue += nonAlphaChars;
|
||||
sValue += ", ";
|
||||
}
|
||||
sValue += alphaChars;
|
||||
|
||||
Reference in New Issue
Block a user