blob: f0112bf62c6e88028e43387fdf37790381b7bb91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.3 2009/02/27 16:00:01 tnn Exp $
--- src/Xge.c.orig 2008-12-03 20:02:05.000000000 +0100
+++ src/Xge.c
@@ -161,6 +161,8 @@ cleanup:
static Bool
_xgeCheckExtension(Display* dpy, XExtDisplayInfo* info)
{
+ if (!XextHasExtension(info))
+ return False;
XextCheckExtension(dpy, info, xge_extension_name, False);
return True;
}
|