Ver código fonte

Regularized file not found error messages.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16073 54d463be-8e91-2dee-dedb-b68131a5f0ec
xazax-hun 13 anos atrás
pai
commit
d7c5f0acf3
4 arquivos alterados com 4 adições e 4 exclusões
  1. 1 1
      src/char/char.c
  2. 1 1
      src/char/inter.c
  3. 1 1
      src/map/map.c
  4. 1 1
      src/map/script.c

+ 1 - 1
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;
 	}
 

+ 1 - 1
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;
 	}
 

+ 1 - 1
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))

+ 1 - 1
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))