]> source.dussan.org Git - tigervnc.git/commitdiff
Fix inverted logic in ProcVncExtSetParam. 236/head
authorMichal Srb <michalsrb@gmail.com>
Thu, 12 Nov 2015 13:03:28 +0000 (15:03 +0200)
committerMichal Srb <michalsrb@gmail.com>
Thu, 12 Nov 2015 13:03:28 +0000 (15:03 +0200)
unix/xserver/hw/vnc/vncExt.c

index 2f5ff5c70e25b45c3fe0d10c7e5c17731404d0f1..43794dad37445bfe5f9da546ace8914ba731a897 100644 (file)
@@ -196,7 +196,7 @@ static int ProcVncExtSetParam(ClientPtr client)
   rep.success = 1;
 
   // Send DesktopName update if desktop name has been changed
-  if (strncasecmp(param, "desktop", 7) != 0)
+  if (strncasecmp(param, "desktop", 7) == 0)
     vncUpdateDesktopName();
 
 deny: