author | ecalot
<ecalot> 2006-07-12 21:01:47 UTC |
committer | ecalot
<ecalot> 2006-07-12 21:01:47 UTC |
parent | 1bfe75acc896c29ada8609ee5d33e13a7d9190b1 |
PR/src/lib/layers/autodetect.c | +1 | -1 |
diff --git a/PR/src/lib/layers/autodetect.c b/PR/src/lib/layers/autodetect.c index bef896e..7887506 100644 --- a/PR/src/lib/layers/autodetect.c +++ b/PR/src/lib/layers/autodetect.c @@ -74,7 +74,7 @@ int verifyImage256Header(tBinary c) { int verifyPaletteHeaderPop1(tBinary c) { return ( - ((c.size==101)&&(!c.data[2])&&(!c.data[3])&&(c.data[4]==0x10)) + ((c.size==100)&&(!c.data[1])&&(!c.data[2])&&(c.data[3]==0x10)) ); }