Fixed winchar tests

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6430 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-01-22 09:54:21 +00:00
parent 069a18860a
commit 03405bcd96
10 changed files with 88 additions and 51 deletions

View file

@ -942,7 +942,8 @@ int sane_system(const TCHAR *command)
fixedcmd += _T(" /C "), fixedcmd += prefix;
return RunChildProcessRedirected(fixedcmd.c_str(), command);
#else
tstring fixedcmd = prefix + _T("") + command;
tstring fixedcmd = prefix;
fixedcmd += _T(""), fixedcmd += command;
return _tsystem(fixedcmd.c_str());
#endif // ~_UNICODE
#else // !_WIN32