Kaydet (Commit) 0223aa11 authored tarafından Jack Jansen's avatar Jack Jansen

Obscure bugfix

üst 0949055d
......@@ -383,11 +383,8 @@ binascii_rlecode_hqx(self, args)
inend<len && in_data[inend] == ch &&
inend < in+255;
inend++) ;
if ( inend - in > 3 && inend-in != RUNCHAR ) {
/* More than 3 in a row. Output RLE.
** The special case of exactly 0x90 repeats will result in a single
** byte now and a 0x8f repeat next time around
*/
if ( inend - in > 3 ) {
/* More than 3 in a row. Output RLE. */
*out_data++ = ch;
*out_data++ = RUNCHAR;
*out_data++ = inend-in;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment