mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-20 12:37:11 +02:00
Make builtin formatted strings default to false to avoid trying to perform a format in cases where it can be folled by a following parameters that are not meant to be part of that formatted string.
This commit is contained in:
1 parent
bb7a6881c6
commit
7bb44ec008
15 files changed
+38
-38
No files matched your search
+1
-1
@@ -539,7 +539,7 @@ template < Uint8 L, bool S > static SQInteger LogBasicMessage(HSQUIRRELVM vm)
|
||||
return sq_throwerror(vm, "Missing message value");
|
||||
}
|
||||
// Attempt to generate the string value
|
||||
StackStrF val(vm, 2);
|
||||
StackStrF val(vm, 2, true);
|
||||
// Have we failed to retrieve the string?
|
||||
if (SQ_FAILED(val.mRes))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user