[metacity/gnome-3-22] libmetacity: fix copy/paste error



commit c3741e5fe9b0e9682edb2613ddd61d71b1ae0208
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 1a1da9e..9d4590c 100644
--- a/libmetacity/meta-theme-impl.c
+++ b/libmetacity/meta-theme-impl.c
@@ -286,7 +286,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]