diff options
-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); } |