Mercurial > vim
changeset 20838:020aec2e8de9 v8.2.0971
patch 8.2.0971: build with tiny features fails
Commit: https://github.com/vim/vim/commit/142499de3352e1edb2ab6cc2bf3b82441c8e5f4f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 13 16:39:31 2020 +0200
patch 8.2.0971: build with tiny features fails
Problem: Build with tiny features fails.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Jun 2020 16:45:04 +0200 |
parents | d1a69628878a |
children | 7c1e92b152ed |
files | src/term.c src/version.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c +++ b/src/term.c @@ -4538,7 +4538,13 @@ handle_version_response(int first, int * // Reset terminal properties that are set based on the termresponse. // Mainly useful for tests that send the termresponse multiple times. // For testing all props can be reset. - init_term_props(reset_term_props_on_termresponse); + init_term_props( +#ifdef FEAT_EVAL + reset_term_props_on_termresponse +#else + FALSE +#endif + ); // If this code starts with CSI, you can bet that the // terminal uses 8-bit codes.