summaryrefslogtreecommitdiff
path: root/src/xkbout.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-04-12 11:29:43 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-04-12 11:29:43 +0000
commit5e5bd096ba38294f43a071def16f8a397e22eb79 (patch)
treeb952abc858512ae7889143d0848ac70db8a1090a /src/xkbout.c
parent5f400a68ee489a1d9206605870b8d4306236170e (diff)
Fix offline operation.
Diffstat (limited to 'src/xkbout.c')
-rw-r--r--src/xkbout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xkbout.c b/src/xkbout.c
index 1a2b869..53457f1 100644
--- a/src/xkbout.c
+++ b/src/xkbout.c
@@ -135,7 +135,7 @@ Display * dpy;
char * alternate;
xkb= result->xkb;
- if ((!xkb)||(!xkb->names)||(!xkb->names->keys)||(!xkb->dpy)) {
+ if ((!xkb)||(!xkb->names)||(!xkb->names->keys)) {
_XkbLibError(_XkbErrMissingNames,"XkbWriteXKBKeycodes",0);
return False;
}
@@ -199,7 +199,7 @@ XkbKTMapEntryPtr entry;
XkbDescPtr xkb;
xkb= result->xkb;
- if ((!xkb)||(!xkb->map)||(!xkb->map->types)||(!xkb->dpy)) {
+ if ((!xkb)||(!xkb->map)||(!xkb->map->types)) {
_XkbLibError(_XkbErrMissingTypes,"XkbWriteXKBKeyTypes",0);
return False;
}
@@ -314,7 +314,7 @@ XkbSymInterpretPtr interp;
XkbDescPtr xkb;
xkb= result->xkb;
- if ((!xkb)||(!xkb->compat)||(!xkb->compat->sym_interpret)||(!xkb->dpy)) {
+ if ((!xkb)||(!xkb->compat)||(!xkb->compat->sym_interpret)) {
_XkbLibError(_XkbErrMissingCompatMap,"XkbWriteXKBCompatMap",0);
return False;
}