summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-05-08 19:30:40 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-05-08 19:30:40 +0000
commita0aba25cd2b0ddd52fc66226b99a3eb3a3a5abc5 (patch)
treeffc488518ba23bb03d76c009b13d99096ce1e0a4
parent9d6c5baf946c1630f085d2fc4e6feea8df624fad (diff)
avoid C99-ism (from Vladimir)
git-svn-id: svn://tug.org/texlive/trunk@7949 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index 6ee4089f796..95809f999f2 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -2172,8 +2172,8 @@ measure_native_node(void* pNode, int use_glyph_metrics)
else {
int i;
OSStatus status = 0;
+ float maxRhs = 0.0;
nGlyphs = layoutChars(engine, (UniChar*)txtPtr, 0, txtLen, txtLen, (dir == UBIDI_RTL), 0.0, 0.0, &status);
- float maxRhs = 0.0;
/* NO -- this is not valid in some Indic split-vowel situations
see http://sourceforge.net/tracker/index.php?func=detail&aid=1951292&group_id=194926&atid=951385 */
#if 0