summaryrefslogtreecommitdiff
path: root/src/char/int_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_status.c')
-rw-r--r--src/char/int_status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/int_status.c b/src/char/int_status.c
index ccab32431..d03797e1d 100644
--- a/src/char/int_status.c
+++ b/src/char/int_status.c
@@ -98,7 +98,8 @@ void status_load_scdata(const char* filename)
return;
}
- while(fgets(line, sizeof(line) - 1, fp)) {
+ while(fgets(line, sizeof(line), fp))
+ {
sc = (struct scdata*)aCalloc(1, sizeof(struct scdata));
if (inter_scdata_fromstr(line, sc)) {
sd_count++;