about summary refs log tree commit diff
path: root/src/engine/engine.c
diff options
context:
space:
mode:
authorJohan Althoff <teetow@gmail.com>2007-11-18 22:06:41 +0000
committerJohan Althoff <teetow@gmail.com>2007-11-18 22:06:41 +0000
commitb44a3edfe9363163ab129594cba51a989c042644 (patch)
treeb7f56f9118ecd37880f5404b51c7dd8df12ed970 /src/engine/engine.c
parent65c7ab0a40497887fe38b5c1c49034ecd2a40c81 (diff)
downloadzcatch-b44a3edfe9363163ab129594cba51a989c042644.tar.gz
zcatch-b44a3edfe9363163ab129594cba51a989c042644.zip
fixed so it compiles under windows.
Diffstat (limited to 'src/engine/engine.c')
-rw-r--r--src/engine/engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/engine.c b/src/engine/engine.c
index f3bee450..4ec67da1 100644
--- a/src/engine/engine.c
+++ b/src/engine/engine.c
@@ -9,7 +9,7 @@ static char application_save_path[512] = {0};
 
 const char *engine_savepath(const char *filename, char *buffer, int max)
 {
-	snprintf(buffer, max, "%s/%s", application_save_path, filename);
+	sprintf(buffer, "%s/%s", application_save_path, filename);
 	return buffer;
 }