summaryrefslogtreecommitdiff
path: root/src/map/quest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/quest.c')
-rw-r--r--src/map/quest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/quest.c b/src/map/quest.c
index 99bf763cf..3e43fcda6 100644
--- a/src/map/quest.c
+++ b/src/map/quest.c
@@ -306,7 +306,7 @@ int quest_read_db(void)
int i,j,k = 0;
char *str[20],*p,*np;
- snprintf(line, sizeof line, "%s/quest_db.txt", db_path);
+ sprintf(line, "%s/quest_db.txt", db_path);
if( (fp=fopen(line,"r"))==NULL ){
ShowError("can't read %s\n", line);
return -1;