From bf5b907924e3bfcde06287168119a2b9b4dc7418 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Mon, 1 Apr 2013 09:40:49 +0000 Subject: [PATCH] style --- src/ui_sensorlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui_sensorlist.c b/src/ui_sensorlist.c index 42b7af6..f4aa6ec 100644 --- a/src/ui_sensorlist.c +++ b/src/ui_sensorlist.c @@ -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); -- 2.7.4