Set format string for _string_printf

This commit is contained in:
atanasovdaniel
2019-12-01 11:34:59 +02:00
parent 98aef14d70
commit a2f325df73

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;
}