summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authormc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-19 17:00:07 +0000
committermc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-19 17:00:07 +0000
commit230c174da61cef240ab784bf7ca03c5fb8f99d89 (patch)
treede418240631c4ccad595d6609b8dbe1a37875a7d /src/common
parent2f3700c455d58b0d02ac0507d67b647871777dff (diff)
downloadhercules-230c174da61cef240ab784bf7ca03c5fb8f99d89.tar.gz
hercules-230c174da61cef240ab784bf7ca03c5fb8f99d89.tar.bz2
hercules-230c174da61cef240ab784bf7ca03c5fb8f99d89.tar.xz
hercules-230c174da61cef240ab784bf7ca03c5fb8f99d89.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@643 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/grfio.c4
-rw-r--r--src/common/showmsg.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/common/grfio.c b/src/common/grfio.c
index d3d39c106..507b66cb3 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -614,7 +614,7 @@ static int grfio_entryread(char *gfname,int gentry)
fp = fopen(gfname,"rb");
if(fp==NULL) {
- sprintf(tmp_output,"GRF Data File not found: '\033[1;29m%s\033[0;0m'.\n",gfname);
+ sprintf(tmp_output,"GRF Data File not found: '"CL_WHITE"%s"CL_RESET"'.\n",gfname);
ShowWarning(tmp_output);
return 1; // 1:not found error
}
@@ -926,7 +926,7 @@ void grfio_init(char *fname)
}
fclose(data_conf);
- sprintf(tmp_output,"Done reading '\033[1;29m%s\033[0;0m'.\n",fname);
+ sprintf(tmp_output,"Done reading '"CL_WHITE"%s"CL_RESET"'.\n",fname);
ShowStatus(tmp_output);
} // end of reading grf-files.txt
diff --git a/src/common/showmsg.c b/src/common/showmsg.c
index 32b9dd22c..903fb583b 100644
--- a/src/common/showmsg.c
+++ b/src/common/showmsg.c
@@ -23,7 +23,7 @@ int _ShowMessage(const char *string, enum msg_type flag){ // by MC Cameri
break;
/* //Do we really need this now? [MC Cameri]
case MSG_SQL: //Bright Violet (For dumping out anything related with SQL)
- strcpy(prefix,"\033[1;35m[SQL]\033[0;0m:");
+ strcpy(prefix,CL_MAGENTA"[SQL]"CL_RESET":");
break;
*/
case MSG_INFORMATION: //Bright White (Variable information)
@@ -60,7 +60,7 @@ int _ShowMessage(const char *string, enum msg_type flag){ // by MC Cameri
FILE *fp;
fp=fopen(OUTPUT_MESSAGES_LOG,"a");
if (fp == NULL) {
- printf("\033[1;31m[Error]\033[0;0m: Could not open \033[1;29m%s\033[0;0m, file not found.\n",OUTPUT_MESSAGES_LOG);
+ printf(CL_RED"[Error]"CL_RESET": Could not open '"CL_WHITE"%s"CL_RESET"', file not found.\n",OUTPUT_MESSAGES_LOG);
fflush(stdout);
return;
}