From 656b5036bbf8e2442d4b6203484e22c91001eccb Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 21 Apr 2009 10:55:22 +0000 Subject: [PATCH] *** empty log message *** --- MText.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) -- 1.7.10.4