aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Dialog.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/Dialog.cxx
parent213c12c4f12101b560d532416788914b9f67399a (diff)
downloadtigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.tar.gz
tigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.zip
Capitalize even more logging and exceptions
Diffstat (limited to 'win/rfb_win32/Dialog.cxx')
-rw-r--r--win/rfb_win32/Dialog.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/rfb_win32/Dialog.cxx b/win/rfb_win32/Dialog.cxx
index f147df45..cf8b2475 100644
--- a/win/rfb_win32/Dialog.cxx
+++ b/win/rfb_win32/Dialog.cxx
@@ -78,7 +78,7 @@ int Dialog::getItemInt(int id) {
BOOL trans;
int result = GetDlgItemInt(handle, id, &trans, TRUE);
if (!trans)
- throw std::runtime_error("unable to read dialog Int");
+ throw std::runtime_error("Unable to read dialog Int");
return result;
}
const char* Dialog::getItemString(int id) {
@@ -277,12 +277,12 @@ bool PropSheet::showPropSheet(HWND owner_, bool showApply, bool showCtxtHelp, bo
if ((handle == nullptr) || (handle == (HWND)-1))
throw rdr::win32_error("PropertySheet failed", GetLastError());
centerWindow(handle, owner_);
- plog.info("created %p", handle);
+ plog.info("Created %p", handle);
(void)capture;
#ifdef _DIALOG_CAPTURE
if (capture) {
- plog.info("capturing \"%s\"", title.c_str());
+ plog.info("Capturing \"%s\"", title.c_str());
char* tmpdir = getenv("TEMP");
HDC dc = GetWindowDC(handle);
DeviceFrameBuffer fb(dc);
@@ -335,7 +335,7 @@ bool PropSheet::showPropSheet(HWND owner_, bool showApply, bool showCtxtHelp, bo
}
#endif
- plog.info("finished %p", handle);
+ plog.info("Finished %p", handle);
DestroyWindow(handle);
handle = nullptr;