From b4d6bac9a4d623a9b32188458b26ae424d374bb3 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 25 May 2007 15:21:53 +0000 Subject: Corrected some weird fgets() statements, plus reformatted them git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10616 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/int_homun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/char/int_homun.c') diff --git a/src/char/int_homun.c b/src/char/int_homun.c index 43d56359d..bccefa428 100644 --- a/src/char/int_homun.c +++ b/src/char/int_homun.c @@ -122,7 +122,8 @@ int inter_homun_init() if( (fp=fopen(homun_txt,"r"))==NULL ) return 1; - while(fgets(line,sizeof(line),fp)){ + while(fgets(line, sizeof(line), fp)) + { p = (struct s_homunculus*)aCalloc(sizeof(struct s_homunculus), 1); if(p==NULL){ ShowFatalError("int_homun: out of memory!\n"); -- cgit v1.2.3-60-g2f50