From 3bb869b0abc79d93dc6a3c5bc804bf1cff85158a Mon Sep 17 00:00:00 2001 From: gewlitys Date: Wed, 4 Dec 2002 21:03:01 +0000 Subject: [PATCH] Dialog choices doesn't go off from rectangle to right anymore, from wjp git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@327 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/comm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc2/src/sc2code/comm.c b/sc2/src/sc2code/comm.c index b3d5c1f09..4e2db70b2 100644 --- a/sc2/src/sc2code/comm.c +++ b/sc2/src/sc2code/comm.c @@ -125,13 +125,13 @@ add_text (int status, PTEXT pTextIn) } else if (GetContextFontLeading (&leading), status <= -4) { - text_width = SIS_SCREEN_WIDTH - (TEXT_X_OFFS << 2); + text_width = SIS_SCREEN_WIDTH - 8 - (TEXT_X_OFFS << 2); pText = pTextIn; } else { - text_width = SIS_SCREEN_WIDTH - (TEXT_X_OFFS << 2); + text_width = SIS_SCREEN_WIDTH - 8 - (TEXT_X_OFFS << 2); switch (status) {