*** empty log message ***
authorhanda <handa>
Tue, 21 Apr 2009 07:50:13 +0000 (07:50 +0000)
committerhanda <handa>
Tue, 21 Apr 2009 07:50:13 +0000 (07:50 +0000)
MText.cs

index 45d711b..fcf4a58 100644 (file)
--- a/MText.cs
+++ b/MText.cs
@@ -1343,6 +1343,8 @@ namespace M17N.Core
            Console.Write (")");
            if (newline)
              Console.WriteLine ();
+           if (Length <= 0)
+             throw new Exception ("Invalid interval length");
          }
       }