Ticket #35384: patch-w_print.c

File patch-w_print.c, 547 bytes (added by mattcottrell, 12 years ago)

w_print.c diff

Line 
1--- w_print.c.orig      2009-04-20 12:26:14.000000000 -0400
2+++ w_print.c   2012-07-27 17:47:29.000000000 -0400
3@@ -1185,7 +1185,7 @@
4     /* which button */
5     which = (int) XawToggleGetCurrent(w);
6     if (which == 0)            /* no buttons on, in transition so return now */
7-       return;
8+       return 0;
9     if (which == 2)            /* "blank" button, invert state */
10        state = !state;
11 
12@@ -1193,7 +1193,7 @@
13     print_all_layers = state;
14     update_figure_size();
15 
16-    return;
17+    return 0;
18 }
19 
20 /* when user toggles between printing all or only active layers */