aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/WordList.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-07-25 17:43:00 +1000
committerNeil <nyamatongwe@gmail.com>2013-07-25 17:43:00 +1000
commitf41794f988b72fd4d7ac905f939ff868ba94e991 (patch)
treefc12354ce053aef134030bb3ebceaf477c0666b4 /lexlib/WordList.cxx
parent28af18d2d1226689923cadd7030d2f085253e6a3 (diff)
downloadscintilla-mirror-f41794f988b72fd4d7ac905f939ff868ba94e991.tar.gz
Minor changes to avoid warnings from Coverity.
Diffstat (limited to 'lexlib/WordList.cxx')
-rw-r--r--lexlib/WordList.cxx2
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