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.
diff --git a/src/term.c b/src/term.c
index f65a15b..75c9fbf 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1565,9 +1565,9 @@
/* 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 @@
/*
* 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