diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-02-17 23:16:06 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-05 19:03:36 -0500 |
commit | 4d7b31fd61695e7a1be2b662fe729a81112ef89b (patch) | |
tree | 51ed30b51c4de241b0e0543707591a83f6275883 /src/nvim/misc1.c | |
parent | 49e71641650d07c2cda7756e3a8b88e6ec42c1d8 (diff) | |
download | rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.tar.gz rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.tar.bz2 rneovim-4d7b31fd61695e7a1be2b662fe729a81112ef89b.zip |
Macro cleanup: USE_ON_FLY_SCROLL
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 3da666c07c..a836ab5680 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -2290,9 +2290,6 @@ int ask_yesno(char_u *str, int direct) int save_State = State; ++no_wait_return; -#ifdef USE_ON_FLY_SCROLL - dont_scroll = TRUE; /* disallow scrolling here */ -#endif State = CONFIRM; /* mouse behaves like with :confirm */ setmouse(); /* disables mouse for xterm */ ++no_mapping; @@ -2465,9 +2462,6 @@ get_number ( if (msg_silent != 0) return 0; -#ifdef USE_ON_FLY_SCROLL - dont_scroll = TRUE; /* disallow scrolling here */ -#endif ++no_mapping; ++allow_keys; /* no mapping here, but recognize keys */ for (;; ) { |