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:
parent
7c41cdc1d0
commit
e65e389116
3
bitmap.c
3
bitmap.c
@ -88,7 +88,8 @@ BOOL bitmap_decompress(unsigned char *output, int width, int height,
|
||||
switch (opcode)
|
||||
{
|
||||
case 0: /* Fill */
|
||||
if ((lastopcode == opcode) && (x != width))
|
||||
if ((lastopcode == opcode)
|
||||
&& !((x == width) && (prevline == NULL)))
|
||||
insertmix = True;
|
||||
break;
|
||||
case 8: /* Bicolour */
|
||||
|
Loading…
Reference in New Issue
Block a user