fix: missing else in previous commit

This commit is contained in:
Antoine Vaure 2026-03-10 10:44:26 +01:00
parent 540ccc2b57
commit a2498e293f

2
x.c
View file

@ -3740,7 +3740,7 @@ kpress(XEvent *ev)
len = 2; len = 2;
} }
} }
if (len > 1 && len != 64 && e->state & Mod1Mask) { else if (len > 1 && len != 64 && e->state & Mod1Mask)
// TODO: does this work with MODE_8BIT ? // TODO: does this work with MODE_8BIT ?
for (int i = len; i != 0; i -= 1) for (int i = len; i != 0; i -= 1)
buf[i] = buf[i-1]; buf[i] = buf[i-1];