nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ac37b04737a116f3601266ab34da1e02bfdfa4c5
parent c7d6f985c76e09e0cbd9ac3d4c23587003e13b12
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed,  3 May 2006 12:59:05 +0000

typo fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3465 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/text.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/text.c b/src/text.c @@ -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;