From 6eec4f53cc983d63b8d3e203f6095591c350e453 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 13 Sep 2007 06:06:30 +0000 Subject: 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 --- src/tool/convert.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tool/convert.c') 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 #include -#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); -- cgit v1.2.3-70-g09d2