fix missing while. This garbled data when displaying on a BE host running

at 32bpp, when rdesktop is running on a LE host connecting with 16bpp to
the TS


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@822 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2005-02-28 23:30:00 +00:00
parent a652d3209d
commit d94519186b

1
xwin.c
View File

@ -662,6 +662,7 @@ translate16to32(const uint16 * data, uint8 * out, uint8 * end)
}
else
{
while (out < end)
{
pixel = *(data++);
SPLITCOLOUR16(pixel, pc);