Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes to sq_setprintfunc due to Squirrel API changes
  • Loading branch information
tobbi committed Aug 12, 2014
1 parent 1ff4852 commit 2157e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/squirrel_util.cpp
Expand Up @@ -89,7 +89,7 @@ void init_squirrel(bool enable_debugger)
sq_pop(global_vm, 1);

// register print function
sq_setprintfunc(global_vm, printfunc);
sq_setprintfunc(global_vm, printfunc, printfunc);
// register default error handlers
sqstd_seterrorhandlers(global_vm);

Expand Down

0 comments on commit 2157e35

Please sign in to comment.