summaryrefslogtreecommitdiff
path: root/libmetacity
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-02 13:07:39 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-02 13:07:39 +0300
commit6ddd8f64731605ee2bceda4dd4df0baede7e69d2 (patch)
treee50657e6794fe0af836a4f3050179b86efd99ff3 /libmetacity
parent7f92252114eb06529bc87a23d923d5c413896ecc (diff)
downloadmetacity-6ddd8f64731605ee2bceda4dd4df0baede7e69d2.tar.gz
libmetacity: fix copy/paste error
Diffstat (limited to 'libmetacity')
-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;
}
}