aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-20 11:54:19 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-20 11:54:19 +1000
commit77972d26d300b45a944cd3e9a2f498a5ee95e507 (patch)
tree6edd8c29a9392041af2ca454836981ef3304a371
parentdc63274714459120c283119dfd3e859a8af11562 (diff)
downloadscintilla-mirror-77972d26d300b45a944cd3e9a2f498a5ee95e507.tar.gz
Backport: Remove test that is always true.
Backport of changeset 6718:a2bd7f9f0c47.
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 9b86e30c7..75f883f24 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -1998,7 +1998,7 @@ public:
}
ListItemData Get(size_t index) const {
- if (index >= 0 && index < data.size()) {
+ if (index < data.size()) {
return data[index];
} else {
ListItemData missing = {"", -1};