More string fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -362,13 +362,9 @@ GridHubComponent::GridHubComponent()
|
||||
DWORD dwCompNameLen = AZ_ARRAY_SIZE(name);
|
||||
if ( GetComputerName(name, &dwCompNameLen) != 0 )
|
||||
{
|
||||
#ifdef _UNICODE
|
||||
char c[MAX_COMPUTERNAME_LENGTH + 1];
|
||||
wcstombs(c, name, AZ_ARRAY_SIZE(c));
|
||||
m_hubName = c;
|
||||
#else
|
||||
m_hubName = name;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
||||
@@ -36,7 +36,6 @@ ly_add_target(
|
||||
${additional_dependencies}
|
||||
COMPILE_DEFINITIONS
|
||||
PRIVATE
|
||||
UNICODE
|
||||
STANDALONETOOLS_ENABLE_LUA_IDE
|
||||
)
|
||||
|
||||
@@ -68,6 +67,5 @@ ly_add_target(
|
||||
${additional_dependencies}
|
||||
COMPILE_DEFINITIONS
|
||||
PRIVATE
|
||||
UNICODE
|
||||
STANDALONETOOLS_ENABLE_PROFILER
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user