aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index 695b25c..b5638b6 100644
--- 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