diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-20 11:54:19 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-20 11:54:19 +1000 |
commit | 4d99e1a61f5997aa8b68582dde2aca5f86de9c35 (patch) | |
tree | f4e0a0be743beb96c05602ca5c4abd9440161128 | |
parent | 24ebee4c40fff56602bd786d0c1291041a05a6f9 (diff) | |
download | scintilla-mirror-4d99e1a61f5997aa8b68582dde2aca5f86de9c35.tar.gz |
Remove test that is always true.
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 6f3aeea1c..a74a21238 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1997,7 +1997,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}; |