From acb889329a2f75d3d6bbea60f178c63241ce4ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Mon, 29 Jul 2002 18:59:01 +0000 Subject: [PATCH] Applied patch from Bob Bell (#1), which fixes compilation warning messages. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@71 423420c4-83ab-492f-b58f-81f9feb106b5 --- xwin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwin.c b/xwin.c index b2541d5..0805c43 100644 --- a/xwin.c +++ b/xwin.c @@ -1016,9 +1016,10 @@ ui_draw_glyph(int mixmode, if ((xyoffset & 0x80))\ {\ if (flags & TEXT2_VERTICAL) \ - y += ttext[++idx] | (ttext[++idx] << 8);\ + y += ttext[idx+1] | (ttext[idx+2] << 8);\ else\ - x += ttext[++idx] | (ttext[++idx] << 8);\ + x += ttext[idx+1] | (ttext[idx+2] << 8);\ + idx += 2;\ }\ else\ {\