aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/SInput.cxx2
-rw-r--r--win/rfb_win32/Service.cxx12
2 files changed, 7 insertions, 7 deletions
diff --git a/win/rfb_win32/SInput.cxx b/win/rfb_win32/SInput.cxx
index 37144c29..258eb057 100644
--- a/win/rfb_win32/SInput.cxx
+++ b/win/rfb_win32/SInput.cxx
@@ -91,7 +91,7 @@ win32::SPointer::pointerEvent(const Point& pos, uint8_t buttonmask)
if (buttonmask & (1<<i)) {
flags |= buttonDownMapping[i];
if (buttonDataMapping[i]) {
- if (data) vlog.info("warning - two buttons set mouse_event data field");
+ if (data) vlog.info("Warning: Two buttons set mouse_event data field");
data = buttonDataMapping[i];
}
} else {
diff --git a/win/rfb_win32/Service.cxx b/win/rfb_win32/Service.cxx
index be3381da..dbbf6ab6 100644
--- a/win/rfb_win32/Service.cxx
+++ b/win/rfb_win32/Service.cxx
@@ -48,24 +48,24 @@ bool runAsService = false;
VOID WINAPI serviceHandler(DWORD control) {
switch (control) {
case SERVICE_CONTROL_INTERROGATE:
- vlog.info("cmd: report status");
+ vlog.info("CMD: Report status");
service->setStatus();
return;
case SERVICE_CONTROL_PARAMCHANGE:
- vlog.info("cmd: param change");
+ vlog.info("CMD: Param change");
service->readParams();
return;
case SERVICE_CONTROL_SHUTDOWN:
- vlog.info("cmd: OS shutdown");
+ vlog.info("CMD: OS shutdown");
service->osShuttingDown();
return;
case SERVICE_CONTROL_STOP:
- vlog.info("cmd: stop");
+ vlog.info("CMD: Stop");
service->setStatus(SERVICE_STOP_PENDING);
service->stop();
return;
};
- vlog.debug("cmd: unknown %lu", control);
+ vlog.debug("CMD: Unknown %lu", control);
}
@@ -126,7 +126,7 @@ Service::setStatus() {
void
Service::setStatus(DWORD state) {
if (status_handle == nullptr) {
- vlog.debug("warning - cannot setStatus");
+ vlog.debug("Warning: Cannot setStatus");
return;
}
status.dwCurrentState = state;