summaryrefslogtreecommitdiffstats
path: root/x11vnc/xevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r--x11vnc/xevents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c
index ad95049..50c96bf 100644
--- a/x11vnc/xevents.c
+++ b/x11vnc/xevents.c
@@ -1145,7 +1145,8 @@ void xcut_receive(char *text, int len, rfbClientPtr cl) {
#ifdef MACOSX
if (macosx_console) {
- return macosx_set_sel(text, len);
+ macosx_set_sel(text, len);
+ return;
}
#endif