aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/STrayIcon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/winvnc/STrayIcon.cxx')
-rw-r--r--win/winvnc/STrayIcon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/winvnc/STrayIcon.cxx b/win/winvnc/STrayIcon.cxx
index d703f47a..3dbe2c81 100644
--- a/win/winvnc/STrayIcon.cxx
+++ b/win/winvnc/STrayIcon.cxx
@@ -160,7 +160,7 @@ public:
try {
rfb::win32::stopService(VNCServerService::Name);
} catch (rdr::Exception& e) {
- MsgBox(nullptr, e.str(), MB_ICONERROR | MB_OK);
+ MsgBox(nullptr, e.what(), MB_ICONERROR | MB_OK);
}
} else {
thread.server.stop();