From d94519186b3bf4c0a62f892cf6d2d06322ceb097 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 28 Feb 2005 23:30:00 +0000 Subject: [PATCH] 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 --- xwin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xwin.c b/xwin.c index 548943c..f6c71f6 100644 --- a/xwin.c +++ b/xwin.c @@ -662,6 +662,7 @@ translate16to32(const uint16 * data, uint8 * out, uint8 * end) } else { + while (out < end) { pixel = *(data++); SPLITCOLOUR16(pixel, pc);