highlight: pango compatibility

This commit is contained in:
bakkeby 2021-04-21 16:23:17 +02:00
parent ba88f1a3e8
commit 79b9ae42d8

View File

@ -26,6 +26,9 @@ drawhighlights(struct item *item, int x, int y, int maxw)
y,
MIN(maxw - indentx, TEXTW(highlight) - lrpad),
bh, 0, highlight, 0
#if PANGO_PATCH
, True
#endif // PANGO_PATCH
);
highlight[strlen(token)] = restorechar;