From 1e64db6629cdb825cf7eaa3031a4b568071e2334 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 14 Jun 2005 23:38:41 +0000 Subject: [PATCH] more miscellaneous fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 6 +++--- src/nano.c | 3 +-- src/winio.c | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53862c7d..903c3949 100644 --- 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 index 366bba17..3f90ea89 100644 --- 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 index d0c6e5fc..3c42333b 100644 --- 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;