Browse Source

Set format string for _string_printf

atanasovdaniel 6 years ago
parent
commit
a2f325df73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sqstdlib/sqstdstring.cpp

+ 1 - 1
sqstdlib/sqstdstring.cpp

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