nano

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

commit fcd4468f902270fee5849da7784124f08fe296fd
parent 7239fda9712a9ef3126ac963dcff0b1c77261e69
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu, 31 Jul 2014 20:44:19 +0000

Adjusting some indentation.


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

Diffstat:
MChangeLog | 3+++
Msrc/files.c | 16++++++++--------
2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +2014-07-31 Benno Schulenberg <bensberg@justemail.net> + * src/files.c (do_insertfile): Adjust some indentation. + 2014-07-27 Benno Schulenberg <bensberg@justemail.net> * src/global.c (add_to_sclist): Remove the now unused and unneeded addition ability from this builder function of the shortcut list. diff --git a/src/files.c b/src/files.c @@ -1129,18 +1129,18 @@ void do_insertfile( continue; #ifndef NANO_TINY - /* Keep track of whether the mark begins inside the - * partition and will need adjustment. */ - if (openfile->mark_set) { - filestruct *top, *bot; - size_t top_x, bot_x; + /* Keep track of whether the mark begins inside the + * partition and will need adjustment. */ + if (openfile->mark_set) { + filestruct *top, *bot; + size_t top_x, bot_x; - mark_order((const filestruct **)&top, &top_x, + mark_order((const filestruct **)&top, &top_x, (const filestruct **)&bot, &bot_x, &right_side_up); - single_line = (top == bot); - } + single_line = (top == bot); + } #endif #ifndef DISABLE_MULTIBUFFER