summaryrefslogtreecommitdiff
path: root/textproc/stardict3/files/patch-src__readword.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/stardict3/files/patch-src__readword.cpp')
-rw-r--r--textproc/stardict3/files/patch-src__readword.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/textproc/stardict3/files/patch-src__readword.cpp b/textproc/stardict3/files/patch-src__readword.cpp
deleted file mode 100644
index ac24d09f8dfe..000000000000
--- a/textproc/stardict3/files/patch-src__readword.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./src/readword.cpp.orig 2010-12-17 19:58:59.000000000 +0300
-+++ ./src/readword.cpp 2011-06-18 00:38:15.560473773 +0400
-@@ -78,7 +78,7 @@
- std::string filename;
- std::list<std::string>::const_iterator it;
- for (it=ttspath.begin(); it!=ttspath.end(); ++it) {
-- filename = build_path(*it, lowerword[0] + G_DIR_SEPARATOR_S + lowerword + ".wav");
-+ filename = build_path(*it, std::string(1,lowerword[0]) + G_DIR_SEPARATOR_S + lowerword + ".wav");
- return_val = g_file_test(filename.c_str(), G_FILE_TEST_EXISTS);
- if (return_val)
- break;
-@@ -109,7 +109,7 @@
- std::string filename;
- std::list<std::string>::const_iterator it;
- for (it=ttspath.begin(); it!=ttspath.end(); ++it) {
-- filename = build_path(*it, lowerword[0] + G_DIR_SEPARATOR_S + lowerword + ".wav");
-+ filename = build_path(*it, std::string(1,lowerword[0]) + G_DIR_SEPARATOR_S + lowerword + ".wav");
- if (g_file_test(filename.c_str(), G_FILE_TEST_EXISTS)) {
- play_sound_file(filename);
- break;