Ticket #1038: hyphen.patch
File hyphen.patch, 549 bytes (added by ziaou, 10 years ago) |
---|
-
navit/speech/android/speech_android.c
40 40 jstring string; 41 41 int i; 42 42 43 // replace hyphen with space to avoid Android to pronounce it 44 for (i = 0 ; i < strlen(str) ; i++) { 45 if (str[i] == 0x2d) { 46 str[i]=' '; 47 } 48 } 49 43 50 if (this->flags & 2) { 44 51 for (i = 0 ; i < strlen(str) ; i++) { 45 52 if (str[i] == 0xc3 && str[i+1] == 0x84) {