diff options
author | Neil <nyamatongwe@gmail.com> | 2013-07-25 17:43:00 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-07-25 17:43:00 +1000 |
commit | f41794f988b72fd4d7ac905f939ff868ba94e991 (patch) | |
tree | fc12354ce053aef134030bb3ebceaf477c0666b4 /lexlib/WordList.cxx | |
parent | 28af18d2d1226689923cadd7030d2f085253e6a3 (diff) | |
download | scintilla-mirror-f41794f988b72fd4d7ac905f939ff868ba94e991.tar.gz |
Minor changes to avoid warnings from Coverity.
Diffstat (limited to 'lexlib/WordList.cxx')
-rw-r--r-- | lexlib/WordList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/WordList.cxx b/lexlib/WordList.cxx index 982d520d6..51d68a659 100644 --- a/lexlib/WordList.cxx +++ b/lexlib/WordList.cxx @@ -103,7 +103,7 @@ void WordList::Clear() { #ifdef _MSC_VER static bool cmpWords(const char *a, const char *b) { - return strcmp(a, b) == -1; + return strcmp(a, b) < 0; } #else |