aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
diff options
context:
space:
mode:
Diffstat (limited to 'lexlib')
-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