fixes for Code/CryEngine

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 13:28:51 -07:00
committed by Esteban Papp
parent 81d26d322d
commit f6cdcddc52
12 changed files with 18 additions and 16 deletions
+3 -2
View File
@@ -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;