We were dying in the "can ts+h take a ga prefix?" check for GTZHAN.

This commit is contained in:
dchandler 2003-10-19 03:47:33 +00:00
parent 47648186b4
commit 0edebd55d7
2 changed files with 6 additions and 1 deletions

View file

@ -1649,7 +1649,9 @@ public class TibTextUtils implements THDLWylieConstants {
if (!TibetanMachineWeb.isKnownHashKey(root)) {
root = root.replace('+', '-');
if (!TibetanMachineWeb.isKnownHashKey(root)) {
throw new Error("root is, now, " + root); // FIXME: make this an assertion
// If the glyph isn't even in TibetanMachine, then
// it's not able to take any prefix.
return false;
}
}
String ru = TibetanMachineWeb.getUnicodeForWylieForGlyph(root);