From 2c8a9b0e7669df1914b8e01d347fef7e8776ef11 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 26 May 2011 08:14:57 +0200 Subject: SWORD25: Avoid using strcoll --- engines/sword25/util/lua/lvm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword25/util/lua/lvm.cpp') 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 */ -- cgit v1.2.3