summaryrefslogtreecommitdiff
path: root/audio/wsoundprefs/patches/patch-ac
blob: 0812144a406d8ab7d0424435a919a42cd3b713d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ac,v 1.2 2001/03/12 21:19:10 wiz Exp $

--- src/SoundPaths.c.orig	Mon Jun 14 09:28:21 1999
+++ src/SoundPaths.c
@@ -70,7 +70,7 @@
 		if (array)
 			wwarning(_("bad value in option SoundPath. Using default path list"));
 		addPathToList(panel->sndL, -1, "~/GNUstep/Library/WindowMaker/Sounds");
-		addPathToList(panel->sndL, -1, "/usr/local/share/WindowMaker/Sounds");
+		addPathToList(panel->sndL, -1, PREFIX "/share/WindowMaker/Sounds");
 	} else {
 		for (i=0; i<PLGetNumberOfElements(array); i++) {
 			val = PLGetArrayElement(array, i);
@@ -90,7 +90,7 @@
 		if (array)
 			wwarning(_("bad value in option SoundSetPath. Using default path list"));
 		addPathToList(panel->sndsetL, -1, "~/GNUstep/Library/WindowMaker/SoundSets");
-		addPathToList(panel->sndsetL, -1, "/usr/local/share/WindowMaker/SoundSets");
+		addPathToList(panel->sndsetL, -1, PREFIX "/share/WindowMaker/SoundSets");
 	} else {
 		for (i=0; i<PLGetNumberOfElements(array); i++) {
 			val = PLGetArrayElement(array, i);