From d1e34b78629ea213aa02a25885091bf0893d5726 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Mon, 20 Nov 2006 00:12:41 +0000 Subject: [PATCH] Regularly update alignment/baseline information for moving text. (ZFP at least; this may affect the Syreen as well. See Bug #919.) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2510 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/comm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc2/src/sc2code/comm.c b/sc2/src/sc2code/comm.c index 44e926204..cd844ba82 100644 --- a/sc2/src/sc2code/comm.c +++ b/sc2/src/sc2code/comm.c @@ -1781,6 +1781,9 @@ do_subtitles (UNICODE *pStr) { case READ_SUBTITLE: { + /* Baseline may be updated by the ZFP */ + SubtitleText.baseline = CommData.AlienTextBaseline; + SubtitleText.align = CommData.AlienTextAlign; SubtitleText.pStr = pStr; SubtitleText.CharCount = (COUNT)~0; subtitle_state = WAIT_SUBTITLE;