git » fp-git.git » commit cb1a7f6

initialization bug fixed

author ecalot
2005-12-16 07:02:09 UTC
committer ecalot
2005-12-16 07:02:09 UTC
parent dd53edc5af662e514fbeff77650f2f1d3bd75396

initialization bug fixed

PR/src/lib/layers/reslist.c +1 -0

diff --git a/PR/src/lib/layers/reslist.c b/PR/src/lib/layers/reslist.c
index 253cd16..6d7a3b1 100644
--- a/PR/src/lib/layers/reslist.c
+++ b/PR/src/lib/layers/reslist.c
@@ -113,6 +113,7 @@ void resourceListAddInfo(tResourceList* r,tResource* res) {
 		res->desc=NULL;
 		res->name=NULL;
 		res->palette.value=0;
+		res->palette.order=0;
 		memset(res->palette.index,0,5);
 		res->number=0;
 		res->type=0;