mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 14:05:48 +02:00
[dmenu][patch] fuzzyhighlight: don't move character 1 pixel backwards
This commit is contained in:
parent
fcfde08faf
commit
0993a2931a
@ -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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user