summaryrefslogtreecommitdiff
path: root/x11/props/files/patch-props.c
blob: a2a8838bed5d0a13604a1b2113a3f9b393c5b5a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- props.c.orig	1997-11-08 17:18:50.000000000 -0800
+++ props.c	2013-09-17 23:33:43.311493251 -0700
@@ -718,7 +718,7 @@
     int         factory = !(int) xv_get(panel_item, PANEL_VALUE);
 
     if (factory == showing_factory)
-	return;
+	return 0;
 
     if (factory) {
 	if (!saved_defaults[0]) {
@@ -752,7 +752,7 @@
     int         width;
 
     if (panel_group[which_panel] == current_panel)
-	return;
+	return 0;
 
     /* Show requested panel */
     xv_set(current_panel, XV_SHOW, FALSE, NULL);
@@ -816,7 +816,7 @@
     else
     {
         strcpy(localepath, openwin_dir);
-        strcat(localepath, "/lib/locale/");
+        strcat(localepath, "/lib/X11/locale/C/");
         bindtextdomain("props", localepath);
     }