summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/char_routines.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-08 07:46:54 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-08 07:46:54 +0000
commit8f134ca976aa50880229f6d5b56df4ec8fc44461 (patch)
tree5572d202a6edbe7aa0fd09d6a69564fe8b5c42e6 /Build/source/texk/web2c/omegafonts/char_routines.c
parentd98759f602b1aaca5715a2eb99c0b88b4f53f5b9 (diff)
OPL2OFM & Co: Handling of very long ligature programs and new tests
git-svn-id: svn://tug.org/texlive/trunk@34874 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/char_routines.c')
-rw-r--r--Build/source/texk/web2c/omegafonts/char_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/omegafonts/char_routines.c b/Build/source/texk/web2c/omegafonts/char_routines.c
index 72c880eb61e..2b0fe601ac5 100644
--- a/Build/source/texk/web2c/omegafonts/char_routines.c
+++ b/Build/source/texk/web2c/omegafonts/char_routines.c
@@ -890,7 +890,7 @@ compute_check_sum(void)
continue;
wd = lval(entry->indices[C_WD]);
if (design_units != UNITY)
- wd = zround(((double)wd) / ((double)design_units) * 1048576.0);
+ wd = zround((wd / (double)design_units) * 1048576.0);
wd += (c + 4) * 0x400000; /* this should be positive */
c0 = (c0 + c0 + wd) % 255;
c1 = (c1 + c1 + wd) % 253;