--- dmenu-fuzzyhighlight-4.9.diff.orig	2020-04-12 04:50:28.000000000 -0700
+++ dmenu-fuzzyhighlight-4.9.diff	2020-11-25 23:06:28.669246836 -0800
@@ -82,7 +82,7 @@
 +	                   ? SchemeSelHighlight
 +	                   : SchemeNormHighlight]);
 +	for (i = 0, highlight = item->text; *highlight && text[i];) {
-+		if (*highlight == text[i]) {
++		if (!fstrncmp(&(*highlight), &text[i], 1)) {
 +			/* get indentation */
 +			c = *highlight;
 +			*highlight = '\0';
@@ -120,7 +120,7 @@
  
 -	return drw_text(drw, x, y, w, bh, lrpad / 2, item->text, 0);
 +	r = drw_text(drw, x, y, w, bh, lrpad / 2, item->text, 0);
-+	drawhighlights(item, x, y, w);
++	if (fuzzy) drawhighlights(item, x, y, w);
 +	return r;
  }
  
