From ddc62c278c2b30250ef21c9888cbb22fe59573c2 Mon Sep 17 00:00:00 2001
From: xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Date: Thu, 3 May 2012 19:46:59 +0000
Subject: Regularized file not found error messages.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16073 54d463be-8e91-2dee-dedb-b68131a5f0ec
---
 src/char/char.c  | 2 +-
 src/char/inter.c | 2 +-
 src/map/map.c    | 2 +-
 src/map/script.c | 2 +-
 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))
-- 
cgit v1.2.3-70-g09d2