commit 6ec585fe59fb9fe0bab103f0777efd6ea0bc8410
Author: Martin Tournoij <[email protected]>
Date:   Sat Jan 12 02:11:55 2019 +1300

    dmenu: remove case-insensitive patch
    
    Actually, turns out that the fuzzymatch patch supports this now, making
    this one redundant. See commit ea4dd26, where it was introduced.

diff --git 
a/tools.suckless.org/dmenu/patches/case-insensitive/dmenu-caseinsensitive-20161201-e90b88e.diff
 
b/tools.suckless.org/dmenu/patches/case-insensitive/dmenu-caseinsensitive-20161201-e90b88e.diff
deleted file mode 100644
index 1101d021..00000000
--- 
a/tools.suckless.org/dmenu/patches/case-insensitive/dmenu-caseinsensitive-20161201-e90b88e.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -up dmenu/dmenu.c dmenu-icase/dmenu.c
---- dmenu/dmenu.c      2016-12-01 02:51:31.642969377 -0600
-+++ dmenu-icase/dmenu.c        2016-12-01 02:51:53.889635972 -0600
-@@ -296,8 +296,8 @@ fuzzymatch(void)
-                       sidx = eidx = -1;
-                       /* walk through item text */
-                       for (i = 0; i < itext_len && (c = item->text[i]); i++) {
--                              /* fuzzy match pattern */
--                              if (text[pidx] == c) {
-+                              /* case-insensitive fuzzy match pattern */
-+                              if (tolower(text[pidx]) == c || 
toupper(text[pidx]) == c) {
-                                       if (sidx == -1)
-                                               sidx = i;
-                                       pidx++;
diff --git a/tools.suckless.org/dmenu/patches/case-insensitive/index.md 
b/tools.suckless.org/dmenu/patches/case-insensitive/index.md
deleted file mode 100644
index 442ccb0e..00000000
--- a/tools.suckless.org/dmenu/patches/case-insensitive/index.md
+++ /dev/null
@@ -1,18 +0,0 @@
-case-insensitive
-================
-
-Description
------------
-This patch adds support for case-insensitive matching the fuzzymatch patch.
-
-dmenu already comes with the `-i` switch for regular case-insensitive matching.
-
-Download
---------
-
-* 
[dmenu-caseinsensitive-20161201-e90b88e.diff](dmenu-caseinsensitive-20161201-e90b88e.diff)
-
-Authors
-------
-
-* fengshaun


Reply via email to