aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util/lua/lvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/util/lua/lvm.cpp')
-rw-r--r--engines/sword25/util/lua/lvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/util/lua/lvm.cpp b/engines/sword25/util/lua/lvm.cpp
index ae70fe2645..fb700c20a2 100644
--- a/engines/sword25/util/lua/lvm.cpp
+++ b/engines/sword25/util/lua/lvm.cpp
@@ -202,7 +202,7 @@ static int l_strcmp (const TString *ls, const TString *rs) {
const char *r = getstr(rs);
size_t lr = rs->tsv.len;
for (;;) {
- int temp = strcoll(l, r);
+ int temp = strcmp(l, r);
if (temp != 0) return temp;
else { /* strings are equal up to a `\0' */
size_t len = strlen(l); /* index of first `\0' in both strings */