* view.c (max_dirt_limit): Make global to match view.h.

* setup.c (options): Actually save max_dirt_limit, which is
documented as a "special setting".
This commit is contained in:
Pavel Roskin 2002-12-27 06:48:33 +00:00
parent 9b2632690d
commit 45f6d2fbec
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-12-27 Pavel Roskin <proski@gnu.org>
* view.c (max_dirt_limit): Make global to match view.h.
* setup.c (options): Actually save max_dirt_limit, which is
documented as a "special setting".
2002-12-26 Pavel Roskin <proski@gnu.org>
* key,c (get_modifier): Warning fix.

View File

@ -745,8 +745,6 @@ static int getch_with_delay (void)
return c;
}
extern int max_dirt_limit;
/* Returns a character read from stdin with appropriate interpretation */
/* Also takes care of generated mouse events */
/* Returns EV_MOUSE if it is a mouse event */

View File

@ -172,6 +172,7 @@ static const struct {
{ "cd_symlinks", &cd_symlinks },
{ "show_all_if_ambiguous", &show_all_if_ambiguous },
{ "have_fast_cpu", &have_fast_cpu },
{ "max_dirt_limit", &max_dirt_limit },
{ "torben_fj_mode", &torben_fj_mode },
{ "use_file_to_guess_type", &use_file_to_check_type },
{ "alternate_plus_minus", &alternate_plus_minus },

View File

@ -170,7 +170,7 @@ struct WView {
/* Maxlimit for skipping updates */
static int max_dirt_limit =
int max_dirt_limit =
#ifdef NATIVE_WIN32
0;
#else