summaryrefslogtreecommitdiff
path: root/graphics/xfig/files/patch-w_export.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfig/files/patch-w_export.c')
-rw-r--r--graphics/xfig/files/patch-w_export.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/xfig/files/patch-w_export.c b/graphics/xfig/files/patch-w_export.c
new file mode 100644
index 000000000000..83c80d909309
--- /dev/null
+++ b/graphics/xfig/files/patch-w_export.c
@@ -0,0 +1,11 @@
+--- w_export.c.orig Tue Jul 26 09:40:01 2005
++++ w_export.c
+@@ -1115,7 +1115,7 @@
+ sprintf(buf, "%.1f", appres.magnification);
+ /* we want to track typing here to update figure size label */
+ mag_spinner = MakeFloatSpinnerEntry(export_panel, &export_mag_text, "magnification",
+- (Widget) NULL, mag_lab, update_mag, buf, 0.0, 10000.0, 1.0, 45);
++ (Widget) NULL, mag_lab, (XtCallbackProc)update_mag, buf, 0.0, 10000.0, 1.0, 45);
+ FirstArg(XtNfromVert, lang_panel);
+ NextArg(XtNtop, XtChainTop);
+ NextArg(XtNbottom, XtChainTop);