projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb3deb
)
style
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 1 Apr 2013 09:40:49 +0000
(09:40 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 1 Apr 2013 09:40:49 +0000
(09:40 +0000)
src/ui_sensorlist.c
patch
|
blob
|
history
diff --git
a/src/ui_sensorlist.c
b/src/ui_sensorlist.c
index
42b7af6
..
f4aa6ec
100644
(file)
--- 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);