[CONTACT]

[ABOUT]

[POLICY]

git clone dmenu dmenu Log gph

Found at: gopher.r-36.net:70/scm/dmenu/commit/09d0a36e0370f7ca9bdb171bf93c5ac3131c5a92.gph

tfix input text matching - dmenu - Dmenu fork with xft fonts.

git clone git://r-36.net/dmenu

Log

Files

Refs

README

LICENSE

---

commit 09d0a36e0370f7ca9bdb171bf93c5ac3131c5a92

parent acbf35a5e35b6f6a7dd3f8da49a6e5ec5ac075ce

Author: Quentin Rameau

Date:   Sun,  4 Oct 2015 14:47:52 +0200
fix input text matching
just compare the size of the input string
Diffstat:
  dmenu.c                             |       2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---

diff --git a/dmenu.c b/dmenu.c

t@@ -219,7 +219,7 @@ match(void)
         len = tokc ? strlen(tokv[0]) : 0;
         matches = lprefix = lsubstr = matchend = prefixend = substrend = NULL;
-        textsize = strlen(text) + 1;
+        textsize = strlen(text);
         for (item = items; item && item->text; item++) {
                 for (i = 0; i < tokc; i++)
                         if (!fstrstr(item->text, tokv[i]))
.


AD: