diff options
Diffstat (limited to 'unix')
-rw-r--r-- | unix/vncviewer/CConn.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx index 2454be21..aa21daaa 100644 --- a/unix/vncviewer/CConn.cxx +++ b/unix/vncviewer/CConn.cxx @@ -684,7 +684,8 @@ void CConn::getOptions() { desktop->resetLocalCursor(); } dotWhenNoCursor.setParam(options.dotWhenNoCursor.checked()); - desktop->setNoCursor(); + if (desktop) + desktop->setNoCursor(); checkEncodings(); } |