From c39d8d6326a16eac6c370726718e784e8dfd4913 Mon Sep 17 00:00:00 2001 From: dchandler Date: Thu, 26 Jun 2003 22:48:51 +0000 Subject: [PATCH] My earlier code cleanup introduced this bug; TMW->TM conversion was busted. --- source/org/thdl/tib/input/TibetanConverter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/org/thdl/tib/input/TibetanConverter.java b/source/org/thdl/tib/input/TibetanConverter.java index b9f27b9..e7358ef 100644 --- a/source/org/thdl/tib/input/TibetanConverter.java +++ b/source/org/thdl/tib/input/TibetanConverter.java @@ -158,7 +158,7 @@ public class TibetanConverter implements FontConverterConstants { conversionTag = TM_TO_TMW; } else { ThdlDebug.verify(convertToTMMode); - conversionTag = TM_TO_TMW; + conversionTag = TMW_TO_TM; } } return reallyConvert(in, out, conversionTag); @@ -237,7 +237,7 @@ public class TibetanConverter implements FontConverterConstants { } int exitCode = 0; - ThdlDebug.verify(((TM_TO_TMW == ct) ? 1 : 0) + ThdlDebug.verify(((TMW_TO_TM == ct) ? 1 : 0) + ((TMW_TO_UNI == ct) ? 1 : 0) + ((TM_TO_TMW == ct) ? 1 : 0) + ((TMW_TO_WYLIE == ct) ? 1 : 0) @@ -263,7 +263,7 @@ public class TibetanConverter implements FontConverterConstants { exitCode = 42; } } else { - ThdlDebug.verify(TM_TO_TMW == ct); + ThdlDebug.verify(TMW_TO_TM == ct); StringBuffer errors = new StringBuffer(); // Convert to TibetanMachine: if (((TibetanDocument)dp.getDocument()).convertToTM(0, dp.getDocument().getLength(), errors)) {