From faa06953847ce584aa459499b66b5a06daf24fc0 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Thu, 22 May 2003 10:42:12 +0000 Subject: [PATCH] Summary text doesn't set the CharCount to be "as long as necessary" producing fragile code that doesn't work when it's changed around. (This surfaced while I was reworking the input libraries.) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@970 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/comm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sc2/src/sc2code/comm.c b/sc2/src/sc2code/comm.c index 73c5ad8d0..65efe5707 100644 --- a/sc2/src/sc2code/comm.c +++ b/sc2/src/sc2code/comm.c @@ -1687,6 +1687,7 @@ DoCommunication (INPUT_STATE InputState, PENCOUNTER_STATE pES) t.baseline.x = SAFE_X + 2; t.align = ALIGN_LEFT; t.baseline.y = SAFE_Y + DELTA_Y_SUMMARY; + t.CharCount = (COUNT)~0; fLast = SetContextFont (TinyFont); for (curr = first_chain; curr != NULL; curr = curr->next)