From 634bdec0ab92f420ad2e004790514b9350c663bd Mon Sep 17 00:00:00 2001 From: amber Date: Thu, 31 Mar 2005 20:31:57 +0000 Subject: Fixed memory corruption associated with afm files [SVN 1363: MouseJstr] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1363 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/map.c b/src/map/map.c index c6c90b815..7dd073f4b 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2395,7 +2395,7 @@ static int map_readafm(int m,char *fn) { size_t size; char afm_line[65535]; - int afm_size[1]; + int afm_size[2]; FILE *afm_file; char *str; -- cgit v1.2.3-70-g09d2