summaryrefslogtreecommitdiff
path: root/src/tool
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-13 06:06:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-13 06:06:30 +0000
commit6eec4f53cc983d63b8d3e203f6095591c350e453 (patch)
treec746b88b56779554f6b218eb90e6ace48a14c176 /src/tool
parent4bd3eb00fe774b2404958ffe597356e25a9dde4f (diff)
downloadhercules-6eec4f53cc983d63b8d3e203f6095591c350e453.tar.gz
hercules-6eec4f53cc983d63b8d3e203f6095591c350e453.tar.bz2
hercules-6eec4f53cc983d63b8d3e203f6095591c350e453.tar.xz
hercules-6eec4f53cc983d63b8d3e203f6095591c350e453.zip
Wiped out every mention of RETCODE from /src.
The servers no longer save data using CRCRLF as line terminator on Windows. Closes bugreport:45. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11187 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/tool')
-rw-r--r--src/tool/convert.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tool/convert.c b/src/tool/convert.c
index 2959eb826..e9d82c362 100644
--- a/src/tool/convert.c
+++ b/src/tool/convert.c
@@ -5,8 +5,6 @@
#include <stdlib.h>
#include <string.h>
-#define RETCODE "\r\n"
-
#define MAX_INVENTORY 100
#define MAX_CART 100
#define MAX_SKILL 350
@@ -282,7 +280,7 @@ int mmo_char_convert(char *fname1,char *fname2)
ret=mmo_char_fromstr(line,&char_dat);
if(ret){
mmo_char_tostr(line,&char_dat);
- fprintf(ofp,"%s" RETCODE,line);
+ fprintf(ofp,"%s\n",line);
}
}
fclose(ifp);