summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfm-x/dvi.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 6b467e6e49b..5b7bd629acd 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,7 @@
+2017-02-17 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * dvi.c: Add possibly forgotten braces.
+
2017-01-24 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* jpegimage.c: Support Exif tags 0x5110, 0x5111, and 0x5112 in order to
diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c
index 47e2feb63b0..dff9d22c72a 100644
--- a/Build/source/texk/dvipdfm-x/dvi.c
+++ b/Build/source/texk/dvipdfm-x/dvi.c
@@ -2310,10 +2310,11 @@ scan_special (double *wd, double *ht, double *xo, double *yo, int *lm,
p++; skip_white(&p, endptr);
}
error = read_length(&tmp1, 1.0, &p, endptr);
- if (!error)
+ if (!error) {
*wd = tmp;
*ht = tmp1;
- skip_white(&p, endptr);
+ skip_white(&p, endptr);
+ }
}
if (!error && qchr) { /* Check if properly quoted */
if (p >= endptr || *p != qchr)