Mercurial > vim
diff src/term.c @ 11158:501f46f7644c v8.0.0466
patch 8.0.0466: still macros that should be all-caps
commit https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:23:31 2017 +0100
patch 8.0.0466: still macros that should be all-caps
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:30:06 +0100 |
parents | b8c04c007d39 |
children | 6e1c19d3de03 |
line wrap: on
line diff
--- a/src/term.c +++ b/src/term.c @@ -1565,9 +1565,9 @@ set_termname(char_u *term) /* get output strings */ for (i = 0; string_names[i].name != NULL; ++i) { - if (term_str(string_names[i].dest) == NULL - || term_str(string_names[i].dest) == empty_option) - term_str(string_names[i].dest) = + if (TERM_STR(string_names[i].dest) == NULL + || TERM_STR(string_names[i].dest) == empty_option) + TERM_STR(string_names[i].dest) = TGETSTR(string_names[i].name, &tp); } @@ -1619,8 +1619,8 @@ set_termname(char_u *term) /* * Get number of colors (if not done already). */ - if (term_str(KS_CCO) == NULL - || term_str(KS_CCO) == empty_option) + if (TERM_STR(KS_CCO) == NULL + || TERM_STR(KS_CCO) == empty_option) set_color_count(tgetnum("Co")); # ifndef hpux