aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/SDisplay.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-11-22 17:03:40 +0100
committerPierre Ossman <ossman@cendio.se>2024-11-22 17:03:40 +0100
commit44f67714bc53f33764da26d007b5dc4e8045473c (patch)
treed4f53e73219ee6593570ba626096551e6be48b1a /win/rfb_win32/SDisplay.cxx
parent213c12c4f12101b560d532416788914b9f67399a (diff)
downloadtigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.tar.gz
tigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.zip
Capitalize even more logging and exceptions
Diffstat (limited to 'win/rfb_win32/SDisplay.cxx')
-rw-r--r--win/rfb_win32/SDisplay.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/SDisplay.cxx b/win/rfb_win32/SDisplay.cxx
index ee339649..b930328f 100644
--- a/win/rfb_win32/SDisplay.cxx
+++ b/win/rfb_win32/SDisplay.cxx
@@ -176,7 +176,7 @@ void SDisplay::startCore() {
// Switch to the current input desktop
if (rfb::win32::desktopChangeRequired()) {
if (!rfb::win32::changeDesktop())
- throw std::runtime_error("unable to switch into input desktop");
+ throw std::runtime_error("Unable to switch into input desktop");
}
// Initialise the change tracker and clipper
@@ -199,7 +199,7 @@ void SDisplay::startCore() {
} catch (std::exception& e) {
delete core; core = nullptr;
if (tryMethod == 0)
- throw std::runtime_error("unable to access desktop");
+ throw std::runtime_error("Unable to access desktop");
tryMethod--;
vlog.error("%s", e.what());
}