Fix crash after selecting name in Blue's ABC Time Activities, caused by an invalid write in wizPackType1().

svn-id: r35551
This commit is contained in:
Travis Howell
2008-12-26 06:18:39 +00:00
parent b3b23642bf
commit 3bbbcc3849
+1 -1
View File
@@ -952,7 +952,7 @@ static int wizPackType1(uint8 *dst, const uint8 *src, int srcPitch, const Common
if (dst) {
*dst++ = ((runCountDiff - 1) << 2) | 0;
memcpy(dst, diffBuffer, runCountDiff);
dst += runCountDiff + 1;
dst += runCountDiff;
}
dataSize += runCountDiff + 1;
runCountDiff = 0;