Unicode fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -231,7 +231,10 @@ long wxExecute(
|
||||
|
||||
while (*ppArgv != NULL)
|
||||
{
|
||||
sCommand << *ppArgv++ << ' ';
|
||||
wxString sArg((wxChar*)(*ppArgv++));
|
||||
|
||||
|
||||
sCommand << sArg.c_str() << ' ';
|
||||
}
|
||||
sCommand.RemoveLast();
|
||||
return wxExecute( sCommand
|
||||
@@ -263,7 +266,7 @@ bool wxGetFullHostName(
|
||||
strncpy(zBuf, zComputer, nMaxSize);
|
||||
zBuf[nMaxSize] = _T('\0');
|
||||
#else
|
||||
strcpy(zBuf, "noname");
|
||||
strcpy((char*)zBuf, "noname");
|
||||
#endif
|
||||
return *zBuf ? TRUE : FALSE;
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user