summaryrefslogtreecommitdiff
path: root/Build/source/texk/makejvf
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2018-02-02 15:17:21 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2018-02-02 15:17:21 +0000
commite4941c72cb97079c622a7eae3a4ff320aa7bf62c (patch)
treefee5d26712d93beff792ad4542ec0270f3914c7a /Build/source/texk/makejvf
parentfe49cc245d78b2da35bbeb33ca654aaae828980a (diff)
makejvf/tfmread.c: fix my mistake
git-svn-id: svn://tug.org/texlive/trunk@46521 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makejvf')
-rw-r--r--Build/source/texk/makejvf/tfmread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/makejvf/tfmread.c b/Build/source/texk/makejvf/tfmread.c
index 5d4748fed20..7b0dac0d407 100644
--- a/Build/source/texk/makejvf/tfmread.c
+++ b/Build/source/texk/makejvf/tfmread.c
@@ -35,7 +35,7 @@ int jfmread(int kcode)
gk_ind = upair(&glue_kern[gk_ind*4+2]);
for (i = 0 ; i < nl-gk_ind ; i++) {
/* if rearrangement already handled ... */
- if (glue_kern[gk_ind*4] > 128) break; /* ... skip loop */
+ if (glue_kern[(gk_ind+i)*4] > 128) break; /* ... skip loop */
if (glue_kern[(gk_ind+i)*4+1] == ctype) {
if (glue_kern[(gk_ind+i)*4+2] >= 128) {
gk2_ind = glue_kern[(gk_ind+i)*4+3];
@@ -61,7 +61,7 @@ int jfmread(int kcode)
gk_ind = upair(&glue_kern[gk_ind*4+2]);
for (i = 0 ; i < nl-gk_ind ; i++) {
/* if rearrangement already handled ... */
- if (glue_kern[gk_ind*4] > 128) break; /* ... skip loop */
+ if (glue_kern[(gk_ind+i)*4] > 128) break; /* ... skip loop */
if (glue_kern[(gk_ind+i)*4+1] == 0) {
if (glue_kern[(gk_ind+i)*4+2] >= 128) {
gk2_ind = glue_kern[(gk_ind+i)*4+3];