git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3465 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-05-03 12:59:05 +00:00
parent c7d6f985c7
commit ac37b04737
1 changed files with 3 additions and 1 deletions

View File

@ -286,10 +286,12 @@ void do_indent_marked(ssize_t cols)
/* Keep track of the change in the current line. */
if (f == openfile->mark_begin &&
openfile->mark_begin_x > indent_new &&
openfile->mark_begin_x >= indent_shift)
openfile->mark_begin_x -= indent_shift;
if (f == openfile->current && openfile->current_x >=
if (f == openfile->current && openfile->current_x >
indent_new && openfile->current_x >=
indent_shift)
openfile->current_x -= indent_shift;