aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/touch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/touch.cxx')
-rw-r--r--vncviewer/touch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/touch.cxx b/vncviewer/touch.cxx
index 1efd3e46..0b2e4bc6 100644
--- a/vncviewer/touch.cxx
+++ b/vncviewer/touch.cxx
@@ -181,8 +181,8 @@ static int handleTouchEvent(void *event, void* /*data*/)
try {
handlers[msg->hwnd] = new Win32TouchHandler(msg->hwnd);
} catch (rfb::Exception& e) {
- vlog.error(_("Failed to create touch handler: %s"), e.str());
- abort_vncviewer(_("Failed to create touch handler: %s"), e.str());
+ vlog.error(_("Failed to create touch handler: %s"), e.what());
+ abort_vncviewer(_("Failed to create touch handler: %s"), e.what());
}
// Add a special hook-in for handling events sent directly to WndProc
if (!SetWindowSubclass(msg->hwnd, &win32WindowProc, 1, 0)) {