summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-10 15:23:13 +0000
committerpixel <pixel>2007-07-10 15:23:13 +0000
commit126a396e4af6a3d9e92471cb8e82993853524e46 (patch)
tree1e7c4d72d7c0848879020be00f2dc4bdf2034f0a
parentdcd04bd6d9569aff386d438dcaa1194e9ce7d36e (diff)
Fixing file override.
-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;
}