summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-01 04:31:53 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-01 04:31:53 +0300
commit359c97f1bdb7ce773c3a7cf9671ece7113685c76 (patch)
treeda7cc8e403e11dfda66719ff98f0b48d2c696bc2 /src
parent36a4928c12024d7dd3771951d8b1f5dbb62702d5 (diff)
downloadmv-359c97f1bdb7ce773c3a7cf9671ece7113685c76.tar.gz
mv-359c97f1bdb7ce773c3a7cf9671ece7113685c76.tar.bz2
mv-359c97f1bdb7ce773c3a7cf9671ece7113685c76.tar.xz
mv-359c97f1bdb7ce773c3a7cf9671ece7113685c76.zip
Remove useless check in guitable.cpp
Diffstat (limited to 'src')
-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;
}