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:
Sandu Liviu Catalin committed 2017-06-18 20:25:12 +03:00
1 parent bb7a6881c6
commit 7bb44ec008
15 files changed
+38 -38

No files matched your search

+1 -1
View File
@@ -1510,7 +1510,7 @@ struct StackStrF
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Base constructor.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
StackStrF(HSQUIRRELVM vm, SQInteger idx, bool fmt = true, bool dummy = false)
StackStrF(HSQUIRRELVM vm, SQInteger idx, bool fmt = false, bool dummy = false)
: mPtr(nullptr)
, mLen(-1)
, mRes(SQ_OK)