*** empty log message ***
authorhanda <handa>
Tue, 21 Apr 2009 12:41:10 +0000 (12:41 +0000)
committerhanda <handa>
Tue, 21 Apr 2009 12:41:10 +0000 (12:41 +0000)
MText.cs

index defa5db..482e1d2 100644 (file)
--- a/MText.cs
+++ b/MText.cs
@@ -1342,7 +1342,7 @@ namespace M17N.Core
            Console.Write (")");
            if (newline)
              Console.WriteLine ();
-           if (Length <= 0 || Length != LeftLength + (To - From) + RightLength)
+           if (Length <= 0)
              throw new Exception ("Invalid interval length");
          }
       }
@@ -1398,7 +1398,7 @@ namespace M17N.Core
              {
                if (indent_type >= 1)
                  Right.DumpNested (indent + "  ", force);
-               else if (indent_type == 2)
+               else
                  Right.DumpNested (indent + "| ", force);
              }
          }