summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-03 19:46:59 +0000
committerxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-03 19:46:59 +0000
commitddc62c278c2b30250ef21c9888cbb22fe59573c2 (patch)
tree1ba9d1d7a784a14f827aec161895efae36e5982f /src
parent5c8c4085e746341f2273aaa67c481621a8276e4a (diff)
downloadhercules-ddc62c278c2b30250ef21c9888cbb22fe59573c2.tar.gz
hercules-ddc62c278c2b30250ef21c9888cbb22fe59573c2.tar.bz2
hercules-ddc62c278c2b30250ef21c9888cbb22fe59573c2.tar.xz
hercules-ddc62c278c2b30250ef21c9888cbb22fe59573c2.zip
Regularized file not found error messages.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16073 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c2
-rw-r--r--src/char/inter.c2
-rw-r--r--src/map/map.c2
-rw-r--r--src/map/script.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/char/char.c b/src/char/char.c
index e0c4cd84d..c6c779a00 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -4241,7 +4241,7 @@ void sql_config_read(const char* cfgName)
ShowInfo("Reading file %s...\n", cfgName);
if ((fp = fopen(cfgName, "r")) == NULL) {
- ShowError("file not found: %s\n", cfgName);
+ ShowError("File not found: %s\n", cfgName);
return;
}
diff --git a/src/char/inter.c b/src/char/inter.c
index 16cd356ab..80dc9372c 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -694,7 +694,7 @@ static int inter_config_read(const char* cfgName)
fp = fopen(cfgName, "r");
if(fp == NULL) {
- ShowError("file not found: %s\n", cfgName);
+ ShowError("File not found: %s\n", cfgName);
return 1;
}
diff --git a/src/map/map.c b/src/map/map.c
index 1e3cdfb3d..9e2dbef25 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3365,7 +3365,7 @@ int inter_config_read(char *cfgName)
fp=fopen(cfgName,"r");
if(fp==NULL){
- ShowError("File not found: '%s'.\n",cfgName);
+ ShowError("File not found: %s\n",cfgName);
return 1;
}
while(fgets(line, sizeof(line), fp))
diff --git a/src/map/script.c b/src/map/script.c
index 98f11bb9e..26d88ea17 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -3784,7 +3784,7 @@ int script_config_read(char *cfgName)
fp=fopen(cfgName,"r");
if(fp==NULL){
- ShowError("file not found: [%s]\n", cfgName);
+ ShowError("File not found: %s\n", cfgName);
return 1;
}
while(fgets(line, sizeof(line), fp))