[dmenu][patch] fuzzyhighlight: don't move character 1 pixel backwards

This commit is contained in:
bakkeby 2020-04-05 18:01:50 +02:00
parent fcfde08faf
commit 0993a2931a

View File

@ -24,7 +24,7 @@ drawhighlights(struct item *item, int x, int y, int maxw)
highlight[1] = '\0';
drw_text(
drw,
x + indent - (lrpad / 2) - 1,
x + indent - (lrpad / 2),
y,
MIN(maxw - indent, TEXTW(highlight) - lrpad),
bh, 0, highlight, 0
@ -34,4 +34,4 @@ drawhighlights(struct item *item, int x, int y, int maxw)
}
highlight++;
}
}
}