mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
(svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper defines
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user