aboutsummaryrefslogtreecommitdiff
path: root/textproc/stardict3/files/patch-src::readword.cpp
blob: c9ddb8f9cfa4660cee1e066c1c378baa3f92b420 (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	Mon Jul 18 21:06:15 2005
+++ src/readword.cpp	Thu Aug  4 16:42:21 2005
@@ -17,7 +17,7 @@
 	  g_file_test((gStarDictDataDir+G_DIR_SEPARATOR+"WyabdcRealPeopleTTS").c_str(), 
 		      G_FILE_TEST_EXISTS);
 #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
 }
 
@@ -35,7 +35,7 @@
     filename = gStarDictDataDir+"/WyabdcRealPeopleTTS/"+
       lowerword[0]+"/"+lowerword+".wav";
 #else
-    filename = std::string("/usr/share/WyabdcRealPeopleTTS/")+lowerword[0]+"/"+
+    filename = std::string("/usr/local/share/WyabdcRealPeopleTTS/")+lowerword[0]+"/"+
       lowerword+".wav";
 #endif
     return_val = g_file_test(filename.c_str(), G_FILE_TEST_EXISTS);
@@ -58,7 +58,7 @@
     filename = gStarDictDataDir+"/WyabdcRealPeopleTTS/"+
       lowerword[0]+"/"+lowerword+".wav";
 #else
-    filename = std::string("/usr/share/WyabdcRealPeopleTTS/")+
+    filename = std::string("/usr/local/share/WyabdcRealPeopleTTS/")+
       lowerword[0]+"/"+lowerword+".wav";
 #endif
     play_wav_file(filename.c_str());