tweaks: drop a useless tidying-up call, as spelling does not use regexes
The integrated spell checker does not use regular expressions, and 'refresh_needed' is set to TRUE anyway, so the tidy_up_after_search() call there is effectively a no-op.master
parent
f0bc94fd02
commit
3c959fd038
|
@ -477,7 +477,6 @@ void do_rcfiles(void);
|
|||
#endif /* ENABLE_NANORC */
|
||||
|
||||
/* Most functions in search.c. */
|
||||
void tidy_up_after_search(void);
|
||||
int findnextstr(const char *needle, bool whole_word_only, int modus,
|
||||
size_t *match_len, bool skipone, const linestruct *begin, size_t begin_x);
|
||||
void do_search(void);
|
||||
|
|
|
@ -2502,7 +2502,6 @@ const char *do_int_speller(const char *tempfile_name)
|
|||
fix_spello(oneword);
|
||||
|
||||
free(misspellings);
|
||||
tidy_up_after_search();
|
||||
refresh_needed = TRUE;
|
||||
|
||||
/* Process the end of the three processes. */
|
||||
|
|
Loading…
Reference in New Issue