summaryrefslogtreecommitdiff
path: root/mpq-fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpq-fs.c')
-rw-r--r--mpq-fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpq-fs.c b/mpq-fs.c
index dac03b4..b4c8fd7 100644
--- a/mpq-fs.c
+++ b/mpq-fs.c
@@ -42,9 +42,9 @@ static directory_list * new_directory_list(directory_list * parent, struct mpq_a
r->next = parent->child;
parent->child = r;
r->name = strtoupper(strdup(name));
- r->mpq_a = mpq_a;
- r->entry = -1;
}
+ r->mpq_a = mpq_a;
+ r->entry = -1;
return r;
}