fixed conversion error.

This commit is contained in:
amontano 2006-12-09 18:44:19 +00:00
parent 3002068fc2
commit c5c448f0c6

View file

@ -172,13 +172,17 @@ class GC {
} }
if (isVowel(ch)) { if (isVowel(ch)) {
seenVowel = true; seenVowel = true;
if (lastEwts=="a")
{
sb.deleteCharAt(sb.length()-1);
}
} }
sb.append(ewts); sb.append(ewts);
lastEwts = ewts; lastEwts = ewts;
} }
if (UnicodeUtils.isNonSubjoinedConsonant(ch) if ((UnicodeUtils.isNonSubjoinedConsonant(ch)
|| UnicodeUtils.isSubjoinedConsonant(ch) || UnicodeUtils.isSubjoinedConsonant(ch)
|| '\u0f39' == ch) { || '\u0f39' == ch) && '\u0f68' != ch) {
ThdlDebug.verify(!added_aVOWEL); ThdlDebug.verify(!added_aVOWEL);
sb.append(THDLWylieConstants.WYLIE_aVOWEL); sb.append(THDLWylieConstants.WYLIE_aVOWEL);
} }