[metacity] libmetacity: fix copy/paste error



commit 6ddd8f64731605ee2bceda4dd4df0baede7e69d2
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Apr 2 13:07:39 2017 +0300

    libmetacity: fix copy/paste error

 libmetacity/meta-theme-impl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libmetacity/meta-theme-impl.c b/libmetacity/meta-theme-impl.c
index e523ffb..82cdb50 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;
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]