summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-clients-props-props.c
blob: 0c3a0d93f82579d752f6aa44ff5a0e0091747866 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- clients/props/props.c.orig	2005-03-28 06:39:19.000000000 -0800
+++ clients/props/props.c	2013-09-17 23:14:50.153104437 -0700
@@ -717,7 +717,7 @@
     int         factory = !(int) xv_get(panel_item, PANEL_VALUE);
 
     if (factory == showing_factory)
-	return;
+	return 0;
 
     if (factory) {
 	if (!saved_defaults[0]) {
@@ -751,7 +751,7 @@
     int         width;
 
     if (panel_group[which_panel] == current_panel)
-	return;
+	return 0;
 
     /* Show requested panel */
     xv_set(current_panel, XV_SHOW, FALSE, NULL);