Merge pull request #208 from atanasovdaniel/fmt_for_string_printf

Set format string for _string_printf
This commit is contained in:
Alberto Demichelis
2020-03-11 17:05:57 +08:00
committed by GitHub

View File

@ -181,7 +181,7 @@ static SQInteger _string_printf(HSQUIRRELVM v)
return -1;
SQPRINTFUNCTION printfunc = sq_getprintfunc(v);
if(printfunc) printfunc(v,dest);
if(printfunc) printfunc(v,_SC("%s"),dest);
return 0;
}