diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-11-22 17:03:40 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-22 17:03:40 +0100 |
commit | 44f67714bc53f33764da26d007b5dc4e8045473c (patch) | |
tree | d4f53e73219ee6593570ba626096551e6be48b1a /win/rfb_win32/LaunchProcess.cxx | |
parent | 213c12c4f12101b560d532416788914b9f67399a (diff) | |
download | tigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.tar.gz tigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.zip |
Capitalize even more logging and exceptions
Diffstat (limited to 'win/rfb_win32/LaunchProcess.cxx')
-rw-r--r-- | win/rfb_win32/LaunchProcess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/LaunchProcess.cxx b/win/rfb_win32/LaunchProcess.cxx index 38aa720f..93bd21fe 100644 --- a/win/rfb_win32/LaunchProcess.cxx +++ b/win/rfb_win32/LaunchProcess.cxx @@ -53,7 +53,7 @@ void LaunchProcess::start(HANDLE userToken, bool createConsole) { char buf[256]; HDESK desktop = GetThreadDesktop(GetCurrentThreadId()); if (!GetUserObjectInformation(desktop, UOI_NAME, buf, 256, &size)) - throw rdr::win32_error("unable to launch process", GetLastError()); + throw rdr::win32_error("Unable to launch process", GetLastError()); snprintf(desktopName, 256, "WinSta0\\%s", buf); @@ -95,7 +95,7 @@ void LaunchProcess::start(HANDLE userToken, bool createConsole) { flags, nullptr, nullptr, &sinfo, &procInfo); if (!success) - throw rdr::win32_error("unable to launch process", GetLastError()); + throw rdr::win32_error("Unable to launch process", GetLastError()); // Wait for it to finish initialising WaitForInputIdle(procInfo.hProcess, 15000); |