summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorvalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-14 22:31:02 +0000
committervalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-14 22:31:02 +0000
commit14380ba0d1e63585c3135ac53418bf1a376c099a (patch)
tree2b37b2e9bfb6a7c5ada194edf41288b836f5a9c3 /src/common
parent093c946637efc6b7e91a4b9300bc60290c0c70b7 (diff)
downloadhercules-14380ba0d1e63585c3135ac53418bf1a376c099a.tar.gz
hercules-14380ba0d1e63585c3135ac53418bf1a376c099a.tar.bz2
hercules-14380ba0d1e63585c3135ac53418bf1a376c099a.tar.xz
hercules-14380ba0d1e63585c3135ac53418bf1a376c099a.zip
* Fixed loading of AFMs when no resnametable is found. [Valaris]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@182 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/grfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/grfio.c b/src/common/grfio.c
index 0c305773d..ff01b6e76 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -417,7 +417,7 @@ char* grfio_resnametable(char* fname, char *lfname)
fp = fopen(restable,"rb");
if(fp==NULL) {
printf("%s not found (grfio_resnametable)\n",restable);
- exit(1); // 1:not found error
+ return NULL; // 1:not found error
}
while(fgets(line,508,fp)){