summaryrefslogtreecommitdiff
path: root/testing/xpdf/char.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-18 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-08-18 23:14:33 +0000
commit59eecef62ae9aa7dd391310f30293318f641c59c (patch)
tree18b1685d21f421939a133b2db2663bc63e5d873c /testing/xpdf/char.patch
parent3413e75c9cdb6c0daf6ddf92f469a2221c94a55b (diff)
Thu Aug 18 23:14:33 UTC 2011
Diffstat (limited to 'testing/xpdf/char.patch')
-rw-r--r--testing/xpdf/char.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/xpdf/char.patch b/testing/xpdf/char.patch
new file mode 100644
index 000000000..8e49393a6
--- /dev/null
+++ b/testing/xpdf/char.patch
@@ -0,0 +1,12 @@
+diff -aur old/xpdf/XPDFViewer.cc new/xpdf/XPDFViewer.cc
+--- old/xpdf/XPDFViewer.cc 2011-08-15 14:08:53.000000000 -0700
++++ new/xpdf/XPDFViewer.cc 2011-08-17 11:05:55.739431215 -0700
+@@ -1803,7 +1803,7 @@
+ menuPane = XmCreatePulldownMenu(toolBar, "zoomMenuPane", args, n);
+ for (i = 0; i < nZoomMenuItems; ++i) {
+ n = 0;
+- s = XmStringCreateLocalized(zoomMenuInfo[i].label);
++ s = XmStringCreateLocalized((char *)zoomMenuInfo[i].label);
+ XtSetArg(args[n], XmNlabelString, s); ++n;
+ XtSetArg(args[n], XmNuserData, (XtPointer)i); ++n;
+ sprintf(buf, "zoom%d", i);