More windows/linux fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-03 18:56:46 -07:00
parent e28602dbbb
commit 82c5f80fbd
5 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ void InitRootDir(char szExeFileName[], uint nExeSize, char szExeRootName[], uint
firstIteration = false;
}
// Check if the engineroot exists
azstrcat(szPath, "\\engine.json");
azstrcat(szPath, AZ_ARRAY_SIZE(szPath), "\\engine.json");
WIN32_FILE_ATTRIBUTE_DATA data;
AZStd::wstring szPathW;
AZStd::to_wstring(szPathW, szPath);