From: handa Date: Tue, 21 Apr 2009 10:55:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=656b5036bbf8e2442d4b6203484e22c91001eccb;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/MText.cs b/MText.cs index fcf4a58..227acea 100644 --- a/MText.cs +++ b/MText.cs @@ -1275,7 +1275,6 @@ namespace M17N.Core return true; } - public void Pop (int start, int end) { update_from_to (); @@ -1306,9 +1305,9 @@ namespace M17N.Core bool check_prev = start == From && start > 0; bool check_next = end == To && end < mtext.Length; - if (! check_prev) + if (! check_prev && start < From) divide_left (start); - if (! check_next) + if (! check_next && end > To) divide_right (end); Stack.Pop (); if (check_prev && Left != null)