From: David Lawrence Ramsey Date: Sun, 30 Apr 2006 01:29:51 +0000 (+0000) Subject: fix yet more do_indent_marked() breakage X-Git-Tag: v1.3.12~222 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fd3cceee44ae50396ce0832827fc3c93e9f9392d;p=nano.git fix yet more do_indent_marked() breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3458 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/text.c b/src/text.c index eb8220b6..f223881e 100644 --- a/src/text.c +++ b/src/text.c @@ -301,8 +301,7 @@ void do_indent_marked(ssize_t len) openfile->totsize += line_indent_len; /* Keep track of the change in the current line. */ - if (f == openfile->mark_begin && openfile->current_x < - openfile->mark_begin_x) + if (f == openfile->mark_begin) openfile->mark_begin_x += line_indent_len; if (f == openfile->current)