aboutsummaryrefslogtreecommitdiff
path: root/ProcessUtils.cpp
diff options
context:
space:
mode:
authorRadAd <adamgates84+github@gmail.com>2019-05-27 14:07:56 +1000
committerRadAd <adamgates84+github@gmail.com>2019-05-27 14:07:56 +1000
commit303f2371b4801f131830311230d9962d63e74a4f (patch)
tree8858adc461ea9254614538d2d5474eff606d6fff /ProcessUtils.cpp
parentf7762daa92f584c34af1a1dcbe8ff400eb9921a0 (diff)
downloadRadTerminal-303f2371b4801f131830311230d9962d63e74a4f.tar.gz
RadTerminal-303f2371b4801f131830311230d9962d63e74a4f.zip
ansi fixes
Diffstat (limited to 'ProcessUtils.cpp')
-rw-r--r--ProcessUtils.cpp2
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());