summaryrefslogtreecommitdiff
path: root/lib/libX11/src/xkb
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2024-08-04 17:15:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2024-08-04 17:15:58 +0000
commitc02d440306a407b23961ad200094196cb5a8b6e6 (patch)
tree3314b0ce2d35d7e7d50fecb35a2d9df8e37f35ef /lib/libX11/src/xkb
parent75dee10ef366b2e9b772f7cbdaa9e81375e9c65f (diff)
Update to libX11 1.8.10. tested by and ok rsadowski@
Diffstat (limited to 'lib/libX11/src/xkb')
-rw-r--r--lib/libX11/src/xkb/XKBMAlloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/xkb/XKBMAlloc.c b/lib/libX11/src/xkb/XKBMAlloc.c
index 8b3be3039..0563a688b 100644
--- a/lib/libX11/src/xkb/XKBMAlloc.c
+++ b/lib/libX11/src/xkb/XKBMAlloc.c
@@ -795,7 +795,7 @@ XkbResizeKeyActions(XkbDescPtr xkb, int key, int needed)
register int i, nActs;
XkbAction *newActs;
- if (needed == 0) {
+ if (needed <= 0) {
xkb->server->key_acts[key] = 0;
return NULL;
}