From: Jean-Philippe Orsini Date: Mon, 1 Apr 2013 09:40:49 +0000 (+0000) Subject: style X-Git-Tag: v0.8.0.5~116 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=bf5b907924e3bfcde06287168119a2b9b4dc7418 style --- 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);