summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2021-12-22 16:24:17 -0600
committerzachir <zachir@librem.one>2021-12-22 16:24:17 -0600
commit1bed7cd1f6fcba4b701317bd589f13639ba6283e (patch)
treece02d43591294b29dff3b7ac380cbddbbfb41296
parent65aad46129921ce5824dee14e50ef8bfed350a26 (diff)
fix broken highlighting
-rw-r--r--dmenu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dmenu.c b/dmenu.c
index c0f3f4c..3240aee 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -171,6 +171,7 @@ drawhighlights(struct item *item, int x, int y, int maxw)
*highlight = c;
/* highlight character */
+ c = highlight[1];
highlight[1] = '\0';
drw_text(
drw,