projects
/
m17n
/
m17n-lib-cs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac6ab8
)
*** empty log message ***
author
handa
<handa>
Tue, 21 Apr 2009 12:34:17 +0000
(12:34 +0000)
committer
handa
<handa>
Tue, 21 Apr 2009 12:34:17 +0000
(12:34 +0000)
MText.cs
patch
|
blob
|
history
diff --git
a/MText.cs
b/MText.cs
index
3036d6b
..
defa5db
100644
(file)
--- 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");
}
}