Commit a5dda84a authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -14,6 +14,8 @@ CVS code - ...@@ -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
......
...@@ -37,7 +37,6 @@ int wrap_at = -CHARS_FROM_EOL;/* Right justified fill value, allows resize */ ...@@ -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 */
......
...@@ -42,7 +42,6 @@ extern long totsize; ...@@ -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)
......
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