]> git.wh0rd.org Git - nano.git/commitdiff
fix yet more do_indent_marked() breakage
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 30 Apr 2006 01:29:51 +0000 (01:29 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 30 Apr 2006 01:29:51 +0000 (01:29 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3458 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index eb8220b6cb72d40282c7e26d817dbfb88d01cba0..f223881eb9d9b6d52920da8a31439354048084ba 100644 (file)
@@ -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)