imgtools/imglib/e32image/deflate/decode.cpp
changeset 34 10771bc49d01
parent 2 39c28ec933dd
equal deleted inserted replaced
33:667e3f7728f7 34:10771bc49d01
   196 				--rl;
   196 				--rl;
   197 				}
   197 				}
   198 			--c;
   198 			--c;
   199 			list[0]=TUint8(last);
   199 			list[0]=TUint8(last);
   200 			last=list[c];
   200 			last=list[c];
   201 			HMem::Copy(&list[1],&list[0],c);
   201 			HMem::Move(&list[1],&list[0],c);
   202 			if (p>end)
   202 			if (p>end)
   203 				{
   203 				{
   204 				Panic(EHuffmanCorruptFile);
   204 				Panic(EHuffmanCorruptFile);
   205 				}
   205 				}
   206 			*p++=last;
   206 			*p++=last;