Merge branch 'upstream' into development

Conflicts:
	dictsource/dict_phonemes
	dictsource/ne_list
	dictsource/ne_rules
	phsource/compile_report
This commit is contained in:
Reece Dunn
2012-07-29 20:52:19 +01:00
8 changed files with 1554 additions and 781 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.46.20 15.Jul.12";
const char *version_string = "1.46.21 25.Jul.12";
const int version_phdata = 0x014600;
int option_device_number = -1;
+14
View File
@@ -2797,6 +2797,20 @@ if((c == '/') && (tr->langopts.testing & 2) && IsDigit09(next_in) && IsAlpha(pre
letter_count++;
if(tr->letter_bits_offset > 0)
{
if(((c < 0x250) && (prev_out >= tr->letter_bits_offset)) ||
((c >= tr->letter_bits_offset) && (letter_count > 1) && (prev_out < 0x250)))
{
// Don't mix native and Latin characters in the same word
// Break into separate words
c = ' ';
space_inserted = 1;
word_flags |= FLAG_HYPHEN_AFTER;
next_word_flags |= FLAG_HYPHEN;
}
}
if(iswupper(c))
{
c = towlower2(c);