From 2157e3565ed3a1991c3481b49e724e388a69c560 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Wed, 13 Aug 2014 01:50:32 +0200 Subject: [PATCH] Fixes to sq_setprintfunc due to Squirrel API changes --- src/scripting/squirrel_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/squirrel_util.cpp b/src/scripting/squirrel_util.cpp index 2c863905d..e2d13ba3b 100644 --- a/src/scripting/squirrel_util.cpp +++ b/src/scripting/squirrel_util.cpp @@ -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); -- 2.11.0