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
This commit is contained in:
mcmartin
2003-05-22 10:42:12 +00:00
parent 3545df4287
commit faa0695384
+1
View File
@@ -1687,6 +1687,7 @@ DoCommunication (INPUT_STATE InputState, PENCOUNTER_STATE pES)
t.baseline.x = SAFE_X + 2; t.baseline.x = SAFE_X + 2;
t.align = ALIGN_LEFT; t.align = ALIGN_LEFT;
t.baseline.y = SAFE_Y + DELTA_Y_SUMMARY; t.baseline.y = SAFE_Y + DELTA_Y_SUMMARY;
t.CharCount = (COUNT)~0;
fLast = SetContextFont (TinyFont); fLast = SetContextFont (TinyFont);
for (curr = first_chain; curr != NULL; curr = curr->next) for (curr = first_chain; curr != NULL; curr = curr->next)