applied Jukkas hotfix
authorAnselm R Garbe <garbeam@gmail.com>
Mon, 24 Mar 2008 15:56:41 +0000 (15:56 +0000)
committerAnselm R Garbe <garbeam@gmail.com>
Mon, 24 Mar 2008 15:56:41 +0000 (15:56 +0000)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index 695b25c..b5638b6 100644 (file)
--- a/dmenu.c
+++ b/dmenu.c
@@ -534,7 +534,7 @@ match(char *pattern) {
        }
        if(lprefix) {
                if(itemend) {
-                       itemend->right - lprefix;
+                       itemend->right = lprefix;
                        lprefix->left = itemend;
                }
                else