summaryrefslogtreecommitdiff
path: root/libmetacity/meta-theme-impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmetacity/meta-theme-impl.c')
-rw-r--r--libmetacity/meta-theme-impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmetacity/meta-theme-impl.c b/libmetacity/meta-theme-impl.c
index e523ffb0..82cdb508 100644
--- a/libmetacity/meta-theme-impl.c
+++ b/libmetacity/meta-theme-impl.c
@@ -293,7 +293,7 @@ strip_buttons (MetaButtonLayout *layout,
else if (strip_button (layout->right_buttons, layout->n_right_buttons,
types[i]))
{
- *n_left -= 1;
+ *n_right -= 1;
return TRUE;
}
}