summaryrefslogtreecommitdiff
path: root/src/lua_bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_bind.c')
-rw-r--r--src/lua_bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_bind.c b/src/lua_bind.c
index daa51f70..04ed8c97 100644
--- a/src/lua_bind.c
+++ b/src/lua_bind.c
@@ -490,7 +490,7 @@ bool alloc_room(int by0, int bx0, int ysize, int xsize, int *y1, int *x1, int *y
/* Files */
void lua_print_hook(cptr str)
{
- fprintf(hook_file, str);
+ fprintf(hook_file, "%s", str);
}