From: handa Date: Tue, 21 Apr 2009 10:58:48 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f291337a87b34143371318c8857979a5ad710c;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/MText.cs b/MText.cs index 227acea..cf84213 100644 --- a/MText.cs +++ b/MText.cs @@ -1305,9 +1305,9 @@ namespace M17N.Core bool check_prev = start == From && start > 0; bool check_next = end == To && end < mtext.Length; - if (! check_prev && start < From) + if (! check_prev && start > From) divide_left (start); - if (! check_next && end > To) + if (! check_next && end < To) divide_right (end); Stack.Pop (); if (check_prev && Left != null)