Commit 1e64db66 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

more miscellaneous fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 6 additions and 7 deletions
+6 -7
...@@ -8,9 +8,9 @@ CVS code - ...@@ -8,9 +8,9 @@ CVS code -
- Change all hardcoded instances of 128 bytes to MAX_BUF_SIZE, - Change all hardcoded instances of 128 bytes to MAX_BUF_SIZE,
and #define MAX_BUF_SIZE as 128 in nano.h. (DLR) and #define MAX_BUF_SIZE as 128 in nano.h. (DLR)
- Display the key to go to the previous strings in the - Display the key to go to the previous strings in the
search/replace history as "^P". This makes mouse clicks work search/replace history as "^P" instead of "Up". This makes
properly on it. Changes to shortcut_init(), help_init(), mouse clicks work properly on it. Changes to shortcut_init(),
nanogetstr(), and do_statusbar_input(). (DLR) help_init(), nanogetstr(), and do_statusbar_input(). (DLR)
- Update the Free Software Foundation's mailing address in - Update the Free Software Foundation's mailing address in
various comments. (DLR) various comments. (DLR)
- Add the ability to open a file on a specified column as well - Add the ability to open a file on a specified column as well
......
...@@ -53,8 +53,7 @@ ...@@ -53,8 +53,7 @@
#endif #endif
#ifndef DISABLE_WRAPJUSTIFY #ifndef DISABLE_WRAPJUSTIFY
static ssize_t fill = 0; /* Fill - where to wrap lines, static ssize_t fill = 0; /* Fill - where to wrap lines */
basically */
#endif #endif
#ifndef DISABLE_WRAPPING #ifndef DISABLE_WRAPPING
static bool same_line_wrap = FALSE; /* Whether wrapped text should static bool same_line_wrap = FALSE; /* Whether wrapped text should
......
...@@ -3987,7 +3987,7 @@ int check_linenumbers(const filestruct *fileptr) ...@@ -3987,7 +3987,7 @@ int check_linenumbers(const filestruct *fileptr)
#endif #endif
#ifdef DEBUG #ifdef DEBUG
/* Dump the passed-in file structure to stderr. */ /* Dump the filestruct inptr to stderr. */
void dump_buffer(const filestruct *inptr) void dump_buffer(const filestruct *inptr)
{ {
if (inptr == fileage) if (inptr == fileage)
...@@ -4003,7 +4003,7 @@ void dump_buffer(const filestruct *inptr) ...@@ -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) void dump_buffer_reverse(void)
{ {
const filestruct *fileptr = filebot; const filestruct *fileptr = filebot;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment