aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/kdrive/ephyr/ephyrdriext.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-12-06 08:03:07 +0000
committermarha <marha@users.sourceforge.net>2010-12-06 08:03:07 +0000
commit4218fd3a8c41e4d9715cbcd6d855736028835fb8 (patch)
tree528be12917049d77b6633654640765b804612cc1 /xorg-server/hw/kdrive/ephyr/ephyrdriext.c
parent30eaf03aef5847adb6da7efd4bbf4a4abaf5d738 (diff)
downloadvcxsrv-4218fd3a8c41e4d9715cbcd6d855736028835fb8.tar.gz
vcxsrv-4218fd3a8c41e4d9715cbcd6d855736028835fb8.tar.bz2
vcxsrv-4218fd3a8c41e4d9715cbcd6d855736028835fb8.zip
libXext xserver pixman git update 6-12-2010
Diffstat (limited to 'xorg-server/hw/kdrive/ephyr/ephyrdriext.c')
-rw-r--r--xorg-server/hw/kdrive/ephyr/ephyrdriext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/kdrive/ephyr/ephyrdriext.c b/xorg-server/hw/kdrive/ephyr/ephyrdriext.c
index def7a39a8..6db06fca7 100644
--- a/xorg-server/hw/kdrive/ephyr/ephyrdriext.c
+++ b/xorg-server/hw/kdrive/ephyr/ephyrdriext.c
@@ -398,7 +398,7 @@ EphyrDuplicateVisual (unsigned int a_screen,
int i=0 ;
EPHYR_LOG ("enter\n") ;
- if (a_screen > screenInfo.numScreens) {
+ if (a_screen >= screenInfo.numScreens) {
EPHYR_LOG_ERROR ("bad screen number\n") ;
goto out;
}