summaryrefslogtreecommitdiff
path: root/textproc/stardict3/files/patch-src::readword.cpp
blob: 111abbf783b1d9f17874c87c9dff30094d2a1662 (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
--- src/readword.cpp.orig	Sat Nov 27 22:35:44 2004
+++ src/readword.cpp	Sat Nov 27 22:36:00 2004
@@ -18,7 +18,7 @@
 	have_data_file = g_file_test(filename, G_FILE_TEST_EXISTS);
 	g_free(filename);
 #else
-	have_data_file = g_file_test("/usr/share/WyabdcRealPeopleTTS", G_FILE_TEST_EXISTS);
+	have_data_file = g_file_test("/usr/local/share/WyabdcRealPeopleTTS", G_FILE_TEST_EXISTS);
 #endif
 }
 
@@ -34,7 +34,7 @@
 #ifdef _WIN32
 		gchar *filename = g_strdup_printf("%s/WyabdcRealPeopleTTS/%c/%s.wav", stardict_data_dir, lowerword[0],lowerword);
 #else
-		gchar *filename = g_strdup_printf("/usr/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
+		gchar *filename = g_strdup_printf("/usr/local/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
 #endif
 		return_val = g_file_test(filename, G_FILE_TEST_EXISTS);
 		g_free(filename);
@@ -56,7 +56,7 @@
 		filename = g_strdup_printf("%s/WyabdcRealPeopleTTS/%c/%s.wav", stardict_data_dir, lowerword[0],lowerword);
 		PlaySound(filename, 0, SND_ASYNC | SND_FILENAME);
 #else
-		filename = g_strdup_printf("/usr/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
+		filename = g_strdup_printf("/usr/local/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
 		gnome_sound_play(filename);
 #endif
 		g_free(filename);