summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/guitable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index cde11423e..7dc8c288a 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -640,7 +640,7 @@ int GuiTable::getColumnForX(const int x) const
break;
}
- if (column < 0 || column >= colnum)
+ if (column >= colnum)
return -1;
return column;
}