summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-06 18:10:36 +0000
committerrubidium <rubidium@openttd.org>2014-09-06 18:10:36 +0000
commite63ca12ab815e0cd4d5cc7fd129cde04f7c4404a (patch)
treee4fdbec2bc1b60a37442d882cfe3df8f8d85a6e8 /src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
parent33ab50556760a84d6754235e553c68ada2f35a63 (diff)
downloadopenttd-e63ca12ab815e0cd4d5cc7fd129cde04f7c4404a.tar.xz
(svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper defines
Diffstat (limited to 'src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp')
-rw-r--r--src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp b/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
index e4c266362..c4002bf2c 100644
--- a/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
+++ b/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
@@ -27,8 +27,8 @@ void sqstd_printcallstack(HSQUIRRELVM v)
* Since the path only reaches NoAI code in a formatted string we have
* to strip it here. Let's hope nobody installs openttd in a subdirectory
* of a directory named /ai/. */
- src = scstrstr(si.source, "\\ai\\");
- if (!src) src = scstrstr(si.source, "/ai/");
+ src = strstr(si.source, "\\ai\\");
+ if (!src) src = strstr(si.source, "/ai/");
if (src) {
src += 4;
} else {