From 98e63be36c264959e53e41e88bb48b77349d244e Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 21 Apr 2009 07:50:13 +0000 Subject: [PATCH] *** empty log message *** --- MText.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MText.cs b/MText.cs index 45d711b..fcf4a58 100644 --- 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"); } } -- 1.7.10.4