summaryrefslogtreecommitdiff
path: root/src/txt-converter
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 15:50:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 15:50:41 +0000
commitb9804183841afd5381069796096a154edb5b9f53 (patch)
tree95e6f70d9ecd43e727d0defe1b02a818bc191169 /src/txt-converter
parent3bd682b3cb3507c8a57fa6930475808981fd0663 (diff)
downloadhercules-b9804183841afd5381069796096a154edb5b9f53.tar.gz
hercules-b9804183841afd5381069796096a154edb5b9f53.tar.bz2
hercules-b9804183841afd5381069796096a154edb5b9f53.tar.xz
hercules-b9804183841afd5381069796096a154edb5b9f53.zip
Reformatting @_@
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10581 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/txt-converter')
-rw-r--r--src/txt-converter/char-converter.c9
-rw-r--r--src/txt-converter/login-converter.c3
2 files changed, 7 insertions, 5 deletions
diff --git a/src/txt-converter/char-converter.c b/src/txt-converter/char-converter.c
index 3d1f59391..b1aae0ca5 100644
--- a/src/txt-converter/char-converter.c
+++ b/src/txt-converter/char-converter.c
@@ -31,7 +31,8 @@ char t_name[256];
#define SQL_CONF_NAME "conf/inter_athena.conf"
#define INTER_CONF_NAME "conf/inter_athena.conf"
//--------------------------------------------------------
-int convert_init(void){
+int convert_init(void)
+{
char line[65536];
int ret;
int set,tmp_int[2], lineno, count;
@@ -265,8 +266,8 @@ int convert_init(void){
return 0;
}
-int do_init(int argc, char **argv){
-
+int do_init(int argc, char **argv)
+{
char_config_read((argc>1)?argv[1]:CHAR_CONF_NAME);
mapindex_init();
sql_config_read((argc>2)?argv[2]:SQL_CONF_NAME);
@@ -280,4 +281,4 @@ int do_init(int argc, char **argv){
void do_abort(void) {}
-void do_final (void) {}
+void do_final(void) {}
diff --git a/src/txt-converter/login-converter.c b/src/txt-converter/login-converter.c
index e46f9327b..020fd8008 100644
--- a/src/txt-converter/login-converter.c
+++ b/src/txt-converter/login-converter.c
@@ -161,7 +161,8 @@ int mmo_auth_init(void)
return 0;
}
-int login_config_read(const char *cfgName){
+int login_config_read(const char *cfgName)
+{
int i;
char line[1024], w1[1024], w2[1024];
FILE *fp;