diff --git a/source/org/thdl/tib/text/DuffCode.java b/source/org/thdl/tib/text/DuffCode.java index 526f96f..702f121 100644 --- a/source/org/thdl/tib/text/DuffCode.java +++ b/source/org/thdl/tib/text/DuffCode.java @@ -162,13 +162,13 @@ public final class DuffCode { } /** * @param TMW if this DuffCode represents a TMW glyph, not a TM glyph - * @return a string representation of this object */ + * @return a string representation of this object that does not refer + * to its Wylie representation (because the TMW->Wylie error messages + * call upon this when there is none, and you don't want an infinite + * loop (manifesting as a StackOverflowError)) */ public String toString(boolean TMW) { boolean[] err = new boolean[] { false }; - String wylie = TibetanMachineWeb.getWylieForGlyph(this, err); - if (err[0]) wylie = "undefined"; - return "