aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Dialog.cxx
diff options
context:
space:
mode:
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;