summaryrefslogtreecommitdiff
path: root/xc/unsupported
diff options
context:
space:
mode:
authorerik <empty>1994-04-08 17:04:51 +0000
committererik <empty>1994-04-08 17:04:51 +0000
commit783178391815a72bee39f6cbe6e75f6973fea02d (patch)
tree5b8d596e1a602adf2bcdf8e46f57741ea3f8d918 /xc/unsupported
parent61129621a2d1c534d80157ce59d8b7d3f6a63c06 (diff)
can't print two atoms in one print statement
because atomText uses a static buffer
Diffstat (limited to 'xc/unsupported')
-rw-r--r--xc/unsupported/test/Xkb/xkbshow.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xc/unsupported/test/Xkb/xkbshow.c b/xc/unsupported/test/Xkb/xkbshow.c
index 7b1ed7e77..93b2b1716 100644
--- a/xc/unsupported/test/Xkb/xkbshow.c
+++ b/xc/unsupported/test/Xkb/xkbshow.c
@@ -676,10 +676,10 @@ unsigned query;
ctrls= desc->ctrls;
printf("Device ID: %d\n",desc->device_spec);
printf("keycodes type: %s\n",atomText(dpy,desc->names->keycodes));
- printf("geometry type: %s (%s)\n",atomText(dpy,desc->names->geometry),
- atomText(dpy,desc->names->phys_geometry));
- printf("symbols type: %s (%s)\n",atomText(dpy,desc->names->symbols),
- atomText(dpy,desc->names->phys_symbols));
+ printf("geometry type: %s ",atomText(dpy,desc->names->geometry));
+ printf("(%s)\n",atomText(dpy,desc->names->phys_geometry));
+ printf("symbols type: %s ",atomText(dpy,desc->names->symbols));
+ printf("(%s)\n",atomText(dpy,desc->names->phys_symbols));
printf("semantics: %s\n",atomText(dpy,desc->names->semantics));
printf("keycode range: %d-%d\n",desc->min_key_code,desc->max_key_code);
printf("audible bell: %s\n",
@@ -745,7 +745,7 @@ unsigned query;
printf("keys:\n");
for (i1=0;i1<nKeys;i1++) {
memcpy(buf,desc->names->keys[i1+desc->min_key_code].name,4);
- printf("%4s ",buf);
+ printf("%-4s ",buf);
if ((i1&0x7)==7)
printf("\n");
}