summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-09-29 02:30:48 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-09-29 02:30:48 +0000
commit759a73eb102b65bf60d02aa6e4259ec42b960925 (patch)
treec43dc091cde0502ed10e58a3eba719dc79871944 /Build/source
parent231ed33b5ac2b0bc638ac7a3b4e06a3e33efbcc1 (diff)
texk/dvipdfm-x/spc_pdfm.c: minor cleanup
git-svn-id: svn://tug.org/texlive/trunk@35279 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfm-x/spc_pdfm.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index b8703be156d..ed13ec69b03 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * spc_pdfm.c: Minor cleanup.
+
2014-09-25 Peter Breitenlohner <peb@mppmu.mpg.de>
* {bmp,jp2,jpeg,png}image.[ch], xbb.c: More cleanup (whitespace
diff --git a/Build/source/texk/dvipdfm-x/spc_pdfm.c b/Build/source/texk/dvipdfm-x/spc_pdfm.c
index ade813e73a8..572d170adc6 100644
--- a/Build/source/texk/dvipdfm-x/spc_pdfm.c
+++ b/Build/source/texk/dvipdfm-x/spc_pdfm.c
@@ -449,9 +449,10 @@ maybe_reencode_utf8(pdf_obj *instring)
if (non_ascii == 0)
return 0; /* no need to reencode ASCII strings */
- cp = inbuf;
if (inbuf[0] == 0xfe && inbuf[1] == 0xff)
return 0; /* no need to reencode UTF16BE with BOM */
+
+ cp = inbuf;
op = wbuf;
*op++ = 0xfe;
*op++ = 0xff;