diff options
Diffstat (limited to 'graphics/xfig/patches/patch-w__print.c')
-rw-r--r-- | graphics/xfig/patches/patch-w__print.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/xfig/patches/patch-w__print.c b/graphics/xfig/patches/patch-w__print.c new file mode 100644 index 00000000000..9ad8522f868 --- /dev/null +++ b/graphics/xfig/patches/patch-w__print.c @@ -0,0 +1,22 @@ +$NetBSD: patch-w__print.c,v 1.1 2012/12/24 21:12:36 joerg Exp $ + +--- w_print.c.orig 2012-12-23 17:41:12.000000000 +0000 ++++ w_print.c +@@ -1185,7 +1185,7 @@ switch_print_layers(Widget w, XtPointer + /* which button */ + which = (int) XawToggleGetCurrent(w); + if (which == 0) /* no buttons on, in transition so return now */ +- return; ++ return 0; + if (which == 2) /* "blank" button, invert state */ + state = !state; + +@@ -1193,7 +1193,7 @@ switch_print_layers(Widget w, XtPointer + print_all_layers = state; + update_figure_size(); + +- return; ++ return 0; + } + + /* when user toggles between printing all or only active layers */ |