blob: 62bc96e22231a1b8bdbee1d9947d029f44723adb (
plain)
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
30
|
$NetBSD: patch-ak,v 1.1.1.1 2000/12/12 02:03:48 wiz Exp $
--- usermenu.c.orig Thu Mar 2 22:41:31 2000
+++ usermenu.c Tue Jun 6 19:24:12 2000
@@ -884,7 +884,7 @@
home = ".";
if ((owHome = getenv("OPENWINHOME")) == NULL)
- owHome = "/usr/openwin";
+ owHome = PREFIX;
menuSearchPath = (char **)MemAlloc(NUM_SEARCH_PATH*sizeof(char *));
@@ -899,16 +899,6 @@
/* $HOME/.<menufile> */
sprintf(buf, "%s/.%%s", home);
menuSearchPath[i++] = MemNewString(buf);
-
-#ifdef OW_I18N_L3
- /* $OPENWINHOME/share/locale/<locale>/olwm/<menufile> */
- sprintf(buf, "%s/share/locale/%%2$s/olwm/%%1$s", owHome);
- menuSearchPath[i++] = MemNewString(buf);
-
- /* $OPENWINHOME/lib/<menufile>.<locale> */
- sprintf(buf, "%s/lib/%%1$s.%%2$s", owHome);
- menuSearchPath[i++] = MemNewString(buf);
-#endif
/* $OPENWINHOME/lib/<menufile> */
sprintf(buf, "%s/lib/%%s", owHome);
|