(svn r9460) [NoAI] -Fix r9459: CompileErrors now didn't work with Unicode (tnx glx)
--- a/src/squirrel.cpp Sun Mar 25 21:27:54 2007 +0000
+++ b/src/squirrel.cpp Sun Mar 25 21:34:29 2007 +0000
@@ -12,9 +12,9 @@
void Squirrel::CompileError(HSQUIRRELVM vm, const SQChar *desc, const SQChar *source, SQInteger line, SQInteger column)
{
#ifdef _SQ64
- DEBUG(misc, 0, "Error %s:%ld/%ld: %s", source, line, column, desc);
+ DEBUG(misc, 0, "Error %s:%ld/%ld: %s", FS2OTTD(source), line, column, FS2OTTD(desc));
#else
- DEBUG(misc, 0, "Error %s:%d/%d: %s", source, line, column, desc);
+ DEBUG(misc, 0, "Error %s:%d/%d: %s", FS2OTTD(source), line, column, FS2OTTD(desc));
#endif
}