per DB's patch, remove unused global variable search_offscreen

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1848 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-07-08 15:27:04 +00:00
parent 0af8604ec9
commit a5dda84a07
3 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,8 @@ CVS code -
longs for consistency. (David Benbennick) longs for consistency. (David Benbennick)
- Rename the TEMP_OPT flags to TEMP_FILE, as it's more - Rename the TEMP_OPT flags to TEMP_FILE, as it's more
descriptive. (DLR) descriptive. (DLR)
- Remove unused global variable search_offscreen. (David
Benbennick)
- files.c: - files.c:
close_open_file() close_open_file()
- Tweak to no longer rely on the return values of - Tweak to no longer rely on the return values of

View File

@ -37,7 +37,6 @@ int wrap_at = -CHARS_FROM_EOL;/* Right justified fill value, allows resize */
char *last_search = NULL; /* Last string we searched for */ char *last_search = NULL; /* Last string we searched for */
char *last_replace = NULL; /* Last replacement string */ char *last_replace = NULL; /* Last replacement string */
int search_last_line; /* Is this the last search line? */ int search_last_line; /* Is this the last search line? */
int search_offscreen; /* Search lines not displayed */
long flags = 0; /* Our flag containing many options */ long flags = 0; /* Our flag containing many options */
WINDOW *edit; /* The file portion of the editor */ WINDOW *edit; /* The file portion of the editor */

View File

@ -42,7 +42,6 @@ extern long totsize;
extern long flags; extern long flags;
extern int tabsize; extern int tabsize;
extern int search_last_line; extern int search_last_line;
extern int search_offscreen;
extern int currslen; extern int currslen;
#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) #if !defined(NANO_SMALL) && defined(ENABLE_NANORC)