commit bd3620acf47d9a351fd345ea02b19c3095b92a4f
Author:     Maarten van Gompel <[email protected]>
AuthorDate: Sun Mar 7 00:33:20 2021 +0100
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Sun Mar 28 14:35:01 2021 +0200

    fix for earlier overlay width patch (there was a conflict with multirow 
overlays)

diff --git a/svkbd.c b/svkbd.c
index 9fca843..0a56914 100644
--- 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;

Reply via email to