commit bd3620acf47d9a351fd345ea02b19c3095b92a4f
parent c2251315e5e3916293313a71ce0cd92f79c7b220
Author: Maarten van Gompel <proycon@anaproy.nl>
Date: Sun, 7 Mar 2021 00:33:20 +0100
fix for earlier overlay width patch (there was a conflict with multirow overlays)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/svkbd.c b/svkbd.c
@@ -924,8 +924,8 @@ showoverlay(int idx)
}
while (keys[j].keysym == 0)
j++;
- if (overlay[i].width)
- j += overlay[i].width;
+ if (overlay[i].width > 1)
+ j += overlay[i].width - 1;
keys[j].label = overlay[i].label;
keys[j].label2 = overlay[i].label2;
keys[j].keysym = overlay[i].keysym;