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