From 8d2ca0b36f9480b98c328e870e8100b191e96102 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 7 Aug 2018 10:18:22 +0100 Subject: [PATCH] #6383 Switch to Unix line endings --- src/lib/platform/MSWindowsWatchdog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/platform/MSWindowsWatchdog.cpp b/src/lib/platform/MSWindowsWatchdog.cpp index fe690241..eff124a1 100644 --- a/src/lib/platform/MSWindowsWatchdog.cpp +++ b/src/lib/platform/MSWindowsWatchdog.cpp @@ -371,11 +371,11 @@ MSWindowsWatchdog::startProcessInForeground(String& command) // show the console window when in foreground mode, // so we can close it gracefully, but minimize it // so it doesn't get in the way. - STARTUPINFO si; - setStartupInfo(si); - si.dwFlags |= STARTF_USESHOWWINDOW; - si.wShowWindow = SW_MINIMIZE; - + STARTUPINFO si; + setStartupInfo(si); + si.dwFlags |= STARTF_USESHOWWINDOW; + si.wShowWindow = SW_MINIMIZE; + return CreateProcess( NULL, LPSTR(command.c_str()), NULL, NULL, TRUE, 0, NULL, NULL, &si, &m_processInfo); @@ -387,7 +387,7 @@ MSWindowsWatchdog::startProcessAsUser(String& command, HANDLE userToken, LPSECUR // clear, as we're reusing process info struct ZeroMemory(&m_processInfo, sizeof(PROCESS_INFORMATION)); - STARTUPINFO si; + STARTUPINFO si; setStartupInfo(si); LPVOID environment;