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

This commit is contained in:
Maarten van Gompel 2021-03-07 00:33:20 +01:00 committed by Hiltjo Posthuma
parent c2251315e5
commit bd3620acf4
1 changed files with 2 additions and 2 deletions

View File

@ -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;