summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-01-07 16:09:54 +0000
committerAdam Tkac <atkac@redhat.com>2009-01-07 16:09:54 +0000
commitea7fa183a4a2de378823b349214cef6b3476aa1a (patch)
treec39023ba0c695f70754d690809a998c51c367a5a /unix/xserver/hw
parent8c1e5b832223e426cfba9b47f9ccd81394ebb62b (diff)
downloadtigervnc-ea7fa183a4a2de378823b349214cef6b3476aa1a.tar.gz
tigervnc-ea7fa183a4a2de378823b349214cef6b3476aa1a.zip
[Bugfix] Fixed assertion in serverReset() function
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3523 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc
index a2aba306..91941406 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -267,7 +267,7 @@ void XserverDesktop::serverReset(ScreenPtr pScreen_)
DixReadAccess);
/* Handle suspicious conditions */
- assert(i != Success);
+ assert(i == Success);
cmap = (ColormapPtr) retval;
}