summaryrefslogtreecommitdiff
path: root/src/tool/mapcache.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-17 10:03:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-17 10:03:30 +0000
commit58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1 (patch)
tree04f13dca0888a9e384970fd3996a306b5972fd7f /src/tool/mapcache.c
parent069d63bc755e5a9335946eb70ba610956c307386 (diff)
downloadhercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.tar.gz
hercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.tar.bz2
hercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.tar.xz
hercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.zip
* Discarded extra deflate function needed for afm reading
- as a result, discarded the whole chain of support functions, .c files and includes needed to make that one function run - also removed zlib compile/link dependencies where they are not needed - reduced the whole zlib package into two core include files - adjusted makefiles / project files to reflect this change git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10273 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/tool/mapcache.c')
-rw-r--r--src/tool/mapcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool/mapcache.c b/src/tool/mapcache.c
index 3aa77fd80..aa0ab0c94 100644
--- a/src/tool/mapcache.c
+++ b/src/tool/mapcache.c
@@ -218,7 +218,7 @@ char *remove_extension(char *mapname)
if (ptr) { //Check and remove extension.
while (ptr[1] && (ptr2 = strchr(ptr+1, '.')))
ptr = ptr2; //Skip to the last dot.
- if(strcmp(ptr,".gat") == 0 ||
+ if (strcmp(ptr,".gat") == 0 ||
strcmp(ptr,".afm") == 0 ||
strcmp(ptr,".af2") == 0)
*ptr = '\0'; //Remove extension.