--- sourceforge.net/trunk/rdesktop/xwin.c 2005/02/28 22:38:24 822 +++ sourceforge.net/trunk/rdesktop/xwin.c 2005/02/28 23:30:00 823 @@ -662,6 +662,7 @@ } else { + while (out < end) { pixel = *(data++); SPLITCOLOUR16(pixel, pc);