From 395296e1391d7bc2371cb07a08be8c139be310e8 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 21 Apr 2009 12:34:17 +0000 Subject: [PATCH] *** empty log message *** --- MText.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MText.cs b/MText.cs index 3036d6b..defa5db 100644 --- a/MText.cs +++ b/MText.cs @@ -1342,7 +1342,7 @@ namespace M17N.Core Console.Write (")"); if (newline) Console.WriteLine (); - if (Length <= 0) + if (Length <= 0 || Length != LeftLength + (To - From) + RightLength) throw new Exception ("Invalid interval length"); } } -- 1.7.10.4