summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-07-18 21:26:21 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-07-18 21:26:21 +0300
commit0baa5d7bdeedab5b5cebc29c762ecb34fca22f7b (patch)
tree31c711f644873a70f0bb126573c67aa1ffa39576
parentc79e69bb44927978003a8696800c3fd5ba9b32d7 (diff)
downloadmetacity-0baa5d7bdeedab5b5cebc29c762ecb34fca22f7b.tar.gz
libmetacity: fix copy/paste errors
-rw-r--r--libmetacity/meta-theme-gtk.c4
-rw-r--r--libmetacity/meta-theme-metacity.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libmetacity/meta-theme-gtk.c b/libmetacity/meta-theme-gtk.c
index d7daed17..f81b08a0 100644
--- a/libmetacity/meta-theme-gtk.c
+++ b/libmetacity/meta-theme-gtk.c
@@ -407,9 +407,9 @@ meta_theme_gtk_calc_geometry (MetaThemeImpl *impl,
if (button->visible)
{
if (button->type != META_BUTTON_TYPE_SPACER)
- n_left++;
+ n_right++;
else
- n_left_spacers++;
+ n_right_spacers++;
}
}
}
diff --git a/libmetacity/meta-theme-metacity.c b/libmetacity/meta-theme-metacity.c
index 8ab93be0..a33344c5 100644
--- a/libmetacity/meta-theme-metacity.c
+++ b/libmetacity/meta-theme-metacity.c
@@ -4952,9 +4952,9 @@ meta_theme_metacity_calc_geometry (MetaThemeImpl *impl,
if (button->visible)
{
if (button->type != META_BUTTON_TYPE_SPACER)
- n_left++;
+ n_right++;
else
- n_left_spacers++;
+ n_right_spacers++;
}
}
}