diff options
-rw-r--r-- | Changelog-SVN.txt | 1 | ||||
-rw-r--r-- | src/map/map.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt index 0ad920c30..7745ed762 100644 --- a/Changelog-SVN.txt +++ b/Changelog-SVN.txt @@ -2,6 +2,7 @@ Date Added 03/31 + * Fixed memory corruption associated with afm files [SVN 1363: MouseJstr] * More pedantic g++ fixes so that it builds without any and all warnings [SVN 1362: MouseJstr] * Removed some #include's causing warnings on some platforms 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; |