summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cursor.c b/cursor.c
index f34a397..d88ff7f 100644
--- a/cursor.c
+++ b/cursor.c
@@ -42,6 +42,7 @@ rfbSendCursorShape(cl)
CARD8 bitmapByte;
pCursor = cl->screen->getCursorPtr(cl);
+ if(!pCursor) return TRUE;
if (cl->useRichCursorEncoding) {
if(!pCursor->richSource)