[Xfce4-commits] [xfce/xfce4-session] 03/06: removed duplicated loop counter (triggered by previous commit a99008c8dbddc038778c8c7e1e080f42c034c3a2)

noreply at xfce.org noreply at xfce.org
Sat Apr 6 23:38:28 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-session.

commit 1d56e7f8c1a5782e1fc0a76cadeec99dbf0b5084
Author: Alexander Schwinn <alexxcons at xfce.org>
Date:   Sat Mar 30 22:56:37 2019 +0100

    removed duplicated loop counter
    (triggered by previous commit a99008c8dbddc038778c8c7e1e080f42c034c3a2)
---
 engines/balou/balou.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/engines/balou/balou.c b/engines/balou/balou.c
index 7a41a29..4a43c7a 100644
--- a/engines/balou/balou.c
+++ b/engines/balou/balou.c
@@ -80,7 +80,7 @@ balou_init (Balou        *balou,
   cairo_t              *cr;
   gint                  layout_height;
   gint                  nmonitors;
-  gint                  i = 0;
+  gint                  i;
   gint                  m;
   gint                  px;
   gint                  py;
@@ -122,7 +122,7 @@ balou_init (Balou        *balou,
   for (m = 0; m < nmonitors; ++m)
     {
       cairo_t *window_cr;
-      window = balou->windows + i;
+      window = balou->windows + m;
       balou_window_init (window, screen, m, root, cursor);
 
       window->layout = PANGO_LAYOUT (g_object_ref (layout));
@@ -147,8 +147,6 @@ balou_init (Balou        *balou,
 
       if (mainscreen == screen && mainmonitor == m)
         balou->mainwin = window;
-
-      ++i;
     }
 
   g_object_unref (context);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list