git » fp-git.git » commit f972ac9

reverted change 1.40-1.41. Removed TODO.

author ecalot
2005-12-29 16:39:28 UTC
committer ecalot
2005-12-29 16:39:28 UTC
parent a763c0e71f1a8734ac74fba179d7bb6c116a1a9a

reverted change 1.40-1.41. Removed TODO.

PR/src/lib/layers/dat.c +1 -3

diff --git a/PR/src/lib/layers/dat.c b/PR/src/lib/layers/dat.c
index af06d30..0ec44c7 100644
--- a/PR/src/lib/layers/dat.c
+++ b/PR/src/lib/layers/dat.c
@@ -79,7 +79,7 @@ int checkSum(const unsigned char* data,int size) {
 /* private functions */
 /* todo: move to datindex.c */
 
-#define toLower(a) (('A'<=(a)&&(a)<='Z')?(a)|0x20:(a)) /* TODO: move to memory.c and improve str5lowercpy */
+#define toLower(a) (('A'<=(a)&&(a)<='Z')?(a)|0x20:(a))
 #define toUpper(a) (('a'<=(a)&&(a)<='z')?(a)&0xDF:(a))
 
 /* the cursor get functions */
@@ -396,8 +396,6 @@ 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; /* TODO: check */
 	return 1;
 }