diff options
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/touch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/touch.cxx b/vncviewer/touch.cxx index 0c15a117..a2ee3e69 100644 --- a/vncviewer/touch.cxx +++ b/vncviewer/touch.cxx @@ -179,7 +179,7 @@ static int handleTouchEvent(void *event, void *data) if (msg->message == WM_PAINT && handlers.count(msg->hwnd) == 0) { try { handlers[msg->hwnd] = new Win32TouchHandler(msg->hwnd); - } catch (rfb::Exception e) { + } catch (rfb::Exception& e) { vlog.error(_("Failed to create touch handler: %s"), e.str()); exit_vncviewer(e.str()); } |