git » fp-git.git » commit f8b4a58

bugfixes

author ecalot
2005-07-15 23:57:26 UTC
committer ecalot
2005-07-15 23:57:26 UTC
parent 80fed68ea2c7d6ea5c0a80ec2e319ce0a943a619

bugfixes

PR/doc/changelog.txt +3 -0
PR/src/lib/layers/dat.c +1 -0

diff --git a/PR/doc/changelog.txt b/PR/doc/changelog.txt
index ab5dc78..d6f7256 100644
--- a/PR/doc/changelog.txt
+++ b/PR/doc/changelog.txt
@@ -167,6 +167,9 @@ Versions:
   x Finish python interface
   x Fix buffer overflows
   x Fix the language support
+	x Fix memory leak
+	- Fix uppercase typedef of types
+	- Add defines for positive return values in XML
  * PR v2.0 beta
   x Add full pop2 support
  * PR v2.0
diff --git a/PR/src/lib/layers/dat.c b/PR/src/lib/layers/dat.c
index 8b0d8e1..8426f3b 100644
--- a/PR/src/lib/layers/dat.c
+++ b/PR/src/lib/layers/dat.c
@@ -396,6 +396,7 @@ int mReadFileInDatFileId(tResource* res) {
 int mReadFileInDatFile(tResource* res, int k) {
 	if (!dat_cursorMove(&readIndexCursor,k)) return 0; /* 0 means out of range */
 	dat_readRes(res);
+	if (res->id.order) return 1;
 	return 1;
 }