summaryrefslogtreecommitdiff
path: root/src/common/showmsg.c
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/showmsg.c
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/showmsg.c')
-rw-r--r--src/common/showmsg.c4
1 files changed, 2 insertions, 2 deletions
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;
}