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 | ba93050186b8c23adea52a70c84564059ceab043 (patch) | |
tree | 7ebd1f88555226308d506d6a9b91dbdfcb5c1cf5 /lexlib/WordList.cxx | |
parent | 883e6b2de1a1f317d465f6876b5cf00346107910 (diff) | |
download | scintilla-mirror-ba93050186b8c23adea52a70c84564059ceab043.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 |