style
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 1 Apr 2013 09:40:49 +0000 (09:40 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 1 Apr 2013 09:40:49 +0000 (09:40 +0000)
src/ui_sensorlist.c

index 42b7af6..f4aa6ec 100644 (file)
@@ -151,8 +151,8 @@ static int get_col_index_at_pos(GtkTreeView *view, int x)
        for (node = cols; node; node = node->next) {
                checkcol = (GtkTreeViewColumn *)node->data;
 
-               if (x >= colx &&
-                   x < (colx + gtk_tree_view_column_get_width(checkcol)))
+               if (x >= colx
+                   && x < (colx + gtk_tree_view_column_get_width(checkcol)))
                        return coli;
                else
                        colx += gtk_tree_view_column_get_width(checkcol);