diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2014-07-29 07:10:47 +0000 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2014-07-29 07:10:47 +0000 |
commit | 2c82e6c5f9624187e7abd78c1bfd66663b72deaf (patch) | |
tree | eded6f3beb639a585eba31797fa70776e202b4a4 | |
parent | fd0b126a4264fbd984b66e0d25c66a68bbd26d21 (diff) |
Remove wrong is_xetex check
git-svn-id: svn://tug.org/texlive/trunk@34765 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 1 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfnames.c | 8 |
2 files changed, 3 insertions, 6 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index b3648865985..ff6283022ff 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -8,6 +8,7 @@ * dvipdfmx.c: Remove some unnecessary is_xetex checks. * dvipdfmx.c: Allow DVIPDFM emulation mode even with xdvipdfmx, there is no much gain from not doing so. + * pdfnames.c: Remove wrong is_xetex check. 2014-07-28 Jiang Jiang <gzjjgod@gmail.com> diff --git a/Build/source/texk/dvipdfm-x/pdfnames.c b/Build/source/texk/dvipdfm-x/pdfnames.c index eb4659cfd3a..e7e282d47f2 100644 --- a/Build/source/texk/dvipdfm-x/pdfnames.c +++ b/Build/source/texk/dvipdfm-x/pdfnames.c @@ -415,12 +415,8 @@ pdf_names_create_tree (struct ht_table *names, long *count, if (!flat) name_tree = NULL; else { - if (is_xetex && *count < 1) - name_tree = NULL; - else { - qsort(flat, *count, sizeof(struct named_object), cmp_key); - name_tree = build_name_tree(flat, *count, 1); - } + qsort(flat, *count, sizeof(struct named_object), cmp_key); + name_tree = build_name_tree(flat, *count, 1); RELEASE(flat); } |