Fixed bitmap decompression routines, which were sometimes resulting

in anomalous vertical lines. The first scanline seems to be compressed
separately.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@17 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Matt Chapman 2000-10-05 15:24:09 +00:00
parent 7c41cdc1d0
commit e65e389116

View File

@ -88,7 +88,8 @@ BOOL bitmap_decompress(unsigned char *output, int width, int height,
switch (opcode) switch (opcode)
{ {
case 0: /* Fill */ case 0: /* Fill */
if ((lastopcode == opcode) && (x != width)) if ((lastopcode == opcode)
&& !((x == width) && (prevline == NULL)))
insertmix = True; insertmix = True;
break; break;
case 8: /* Bicolour */ case 8: /* Bicolour */