diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-13 21:22:29 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-13 21:22:29 +0000 |
commit | 619f3994bc7bd730aa28b0e511445025365d6146 (patch) | |
tree | 522ab485ec23210b10a8e09af248fcf239507a35 /src/common/mapindex.c | |
parent | ed39bb7197c749c28f1de75a4219329465b0fa08 (diff) | |
download | hercules-619f3994bc7bd730aa28b0e511445025365d6146.tar.gz hercules-619f3994bc7bd730aa28b0e511445025365d6146.tar.bz2 hercules-619f3994bc7bd730aa28b0e511445025365d6146.tar.xz hercules-619f3994bc7bd730aa28b0e511445025365d6146.zip |
Fixed a warning
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10004 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mapindex.c')
-rw-r--r-- | src/common/mapindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c index 439075b99..bfd67140a 100644 --- a/src/common/mapindex.c +++ b/src/common/mapindex.c @@ -43,7 +43,7 @@ int mapindex_addmap(int index, const char *name) } if ((ext = strstr(map_name, ".")) != NULL) { // Remove extension length = ext-map_name; - sprintf(ext, "\0"); + *ext = '\0'; } if (indexes[index].length) |