mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-18 13:49:55 +01:00
Merge pull request #208 from atanasovdaniel/fmt_for_string_printf
Set format string for _string_printf
This commit is contained in:
@ -181,7 +181,7 @@ static SQInteger _string_printf(HSQUIRRELVM v)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
SQPRINTFUNCTION printfunc = sq_getprintfunc(v);
|
SQPRINTFUNCTION printfunc = sq_getprintfunc(v);
|
||||||
if(printfunc) printfunc(v,dest);
|
if(printfunc) printfunc(v,_SC("%s"),dest);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user