diff options
author | RadAd <adamgates84+github@gmail.com> | 2019-05-27 14:07:56 +1000 |
---|---|---|
committer | RadAd <adamgates84+github@gmail.com> | 2019-05-27 14:07:56 +1000 |
commit | 303f2371b4801f131830311230d9962d63e74a4f (patch) | |
tree | 8858adc461ea9254614538d2d5474eff606d6fff /ProcessUtils.cpp | |
parent | f7762daa92f584c34af1a1dcbe8ff400eb9921a0 (diff) | |
download | RadTerminal-303f2371b4801f131830311230d9962d63e74a4f.tar.gz RadTerminal-303f2371b4801f131830311230d9962d63e74a4f.zip |
ansi fixes
Diffstat (limited to 'ProcessUtils.cpp')
-rw-r--r-- | ProcessUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessUtils.cpp b/ProcessUtils.cpp index 4a44ae3..e3effc9 100644 --- a/ProcessUtils.cpp +++ b/ProcessUtils.cpp @@ -87,7 +87,7 @@ namespace { } TCHAR localcmd[MAX_PATH]; - wcscpy_s(localcmd, cmd); + _tcscpy_s(localcmd, cmd); if (!CreateProcess(nullptr, localcmd, nullptr, nullptr, bInheritHandles, dwCreationFlags, nullptr, nullptr, &si.StartupInfo, &spd.pi)) { spd.hr = HRESULT_FROM_WIN32(GetLastError()); |