projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ff4852
)
Fixes to sq_setprintfunc due to Squirrel API changes
author
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 12 Aug 2014 23:50:32 +0000
(
01:50
+0200)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 12 Aug 2014 23:50:32 +0000
(
01:50
+0200)
src/scripting/squirrel_util.cpp
patch
|
blob
|
history
diff --git
a/src/scripting/squirrel_util.cpp
b/src/scripting/squirrel_util.cpp
index
2c86390
..
e2d13ba
100644
(file)
--- 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);