diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-16 17:23:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-16 17:23:31 +0100 |
commit | 8820b48654b62472821d9b155fe03ab7ac13a05c (patch) | |
tree | 7783a4068aee8368661722d5171d33a4d410d6bb /src/misc1.c | |
parent | 40ebc0afda8d8e478d2090133ed6a3cd3d8da3ec (diff) | |
download | vim-git-8820b48654b62472821d9b155fe03ab7ac13a05c.tar.gz |
patch 8.0.0466: still macros that should be all-capsv8.0.0466
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/misc1.c b/src/misc1.c index 3379e757d..951467d94 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -3265,8 +3265,8 @@ change_warning( msg_start(); if (msg_row == Rows - 1) msg_col = col; - msg_source(hl_attr(HLF_W)); - MSG_PUTS_ATTR(_(w_readonly), hl_attr(HLF_W) | MSG_HIST); + msg_source(HL_ATTR(HLF_W)); + MSG_PUTS_ATTR(_(w_readonly), HL_ATTR(HLF_W) | MSG_HIST); #ifdef FEAT_EVAL set_vim_var_string(VV_WARNINGMSG, (char_u *)_(w_readonly), -1); #endif @@ -3319,7 +3319,7 @@ ask_yesno(char_u *str, int direct) while (r != 'y' && r != 'n') { /* same highlighting as for wait_return */ - smsg_attr(hl_attr(HLF_R), (char_u *)"%s (y/n)?", str); + smsg_attr(HL_ATTR(HLF_R), (char_u *)"%s (y/n)?", str); if (direct) r = get_keystroke(); else @@ -3701,8 +3701,8 @@ vim_beep( * function give the user a hint where the beep comes from. */ if (vim_strchr(p_debug, 'e') != NULL) { - msg_source(hl_attr(HLF_W)); - msg_attr((char_u *)_("Beep!"), hl_attr(HLF_W)); + msg_source(HL_ATTR(HLF_W)); + msg_attr((char_u *)_("Beep!"), HL_ATTR(HLF_W)); } } } |