summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/src/dpxconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/dpxconf.c')
-rw-r--r--Build/source/texk/dvipdfmx/src/dpxconf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfmx/src/dpxconf.c b/Build/source/texk/dvipdfmx/src/dpxconf.c
index 9004573228e..29193df1032 100644
--- a/Build/source/texk/dvipdfmx/src/dpxconf.c
+++ b/Build/source/texk/dvipdfmx/src/dpxconf.c
@@ -1,4 +1,4 @@
-/* $Header: /home/cvsroot/dvipdfmx/src/dpxconf.c,v 1.1 2005/07/20 10:41:54 hirata Exp $
+/* $Header: /home/cvsroot/dvipdfmx/src/dpxconf.c,v 1.2 2008/05/22 10:08:02 matthias Exp $
This is DVIPDFMx, an eXtended version of DVIPDFM by Mark A. Wicks.
@@ -83,7 +83,8 @@ paperinfo (const char *ppformat)
ppinfo = paperfirst();
while (ppinfo && papername(ppinfo)) {
- if (!strcmp(ppformat, papername(ppinfo)))
+ if (!strcmp(ppformat, ppinfo->name))
+ /* ppinfo->name == papername(ppinfo), but gcc doesn't like the latter */
break;
ppinfo = papernext(ppinfo);
}