commit a5dda84a07ff05c5c1e640e121e4dc958284fe65
parent 0af8604ec916055fb27944df144941467f8d2937
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 8 Jul 2004 15:27:04 +0000
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
Diffstat:
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -14,6 +14,8 @@ CVS code -
longs for consistency. (David Benbennick)
- Rename the TEMP_OPT flags to TEMP_FILE, as it's more
descriptive. (DLR)
+ - Remove unused global variable search_offscreen. (David
+ Benbennick)
- files.c:
close_open_file()
- Tweak to no longer rely on the return values of
diff --git a/src/global.c b/src/global.c
@@ -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_replace = NULL; /* Last replacement string */
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 */
WINDOW *edit; /* The file portion of the editor */
diff --git a/src/proto.h b/src/proto.h
@@ -42,7 +42,6 @@ extern long totsize;
extern long flags;
extern int tabsize;
extern int search_last_line;
-extern int search_offscreen;
extern int currslen;
#if !defined(NANO_SMALL) && defined(ENABLE_NANORC)