nano

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

commit 1e64db6629cdb825cf7eaa3031a4b568071e2334
parent ce9d299c47c47ddfb8848045137a617a415fdab3
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue, 14 Jun 2005 23:38:41 +0000

more miscellaneous fixes


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

Diffstat:
MChangeLog | 6+++---
Msrc/nano.c | 3+--
Msrc/winio.c | 4++--
3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -8,9 +8,9 @@ CVS code - - Change all hardcoded instances of 128 bytes to MAX_BUF_SIZE, and #define MAX_BUF_SIZE as 128 in nano.h. (DLR) - Display the key to go to the previous strings in the - search/replace history as "^P". This makes mouse clicks work - properly on it. Changes to shortcut_init(), help_init(), - nanogetstr(), and do_statusbar_input(). (DLR) + search/replace history as "^P" instead of "Up". This makes + mouse clicks work properly on it. Changes to shortcut_init(), + help_init(), nanogetstr(), and do_statusbar_input(). (DLR) - Update the Free Software Foundation's mailing address in various comments. (DLR) - Add the ability to open a file on a specified column as well diff --git a/src/nano.c b/src/nano.c @@ -53,8 +53,7 @@ #endif #ifndef DISABLE_WRAPJUSTIFY -static ssize_t fill = 0; /* Fill - where to wrap lines, - basically */ +static ssize_t fill = 0; /* Fill - where to wrap lines */ #endif #ifndef DISABLE_WRAPPING static bool same_line_wrap = FALSE; /* Whether wrapped text should diff --git a/src/winio.c b/src/winio.c @@ -3987,7 +3987,7 @@ int check_linenumbers(const filestruct *fileptr) #endif #ifdef DEBUG -/* Dump the passed-in file structure to stderr. */ +/* Dump the filestruct inptr to stderr. */ void dump_buffer(const filestruct *inptr) { if (inptr == fileage) @@ -4003,7 +4003,7 @@ void dump_buffer(const filestruct *inptr) } } -/* Dump the file structure to stderr in reverse. */ +/* Dump the main filestruct to stderr in reverse. */ void dump_buffer_reverse(void) { const filestruct *fileptr = filebot;