diff options
author | root <root@rshg054.dnsready.net> | 2011-08-20 23:14:32 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-20 23:14:32 +0000 |
commit | 839141249778baa4dba0f0511c52b5eded3cd934 (patch) | |
tree | 6c3df2941048911b4126ea70a46816110bddf514 /extra/xpdf/char.patch | |
parent | c6a4d3790fc33558d9af322dac15d2bd6d34ac0b (diff) |
Sat Aug 20 23:14:32 UTC 2011
Diffstat (limited to 'extra/xpdf/char.patch')
-rw-r--r-- | extra/xpdf/char.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/xpdf/char.patch b/extra/xpdf/char.patch new file mode 100644 index 000000000..8e49393a6 --- /dev/null +++ b/extra/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); |