diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-12-16 12:27:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 12:27:49 -0500 |
commit | 37915cc5abd5c6f6ae89c1091304c8da2b0fa8fe (patch) | |
tree | 6dac8769883cac8f0345dd9d3149a629bfb8a2b6 /src/nvim/message.c | |
parent | b55ccb43240c931d1a52a85b02920521a838e0a7 (diff) | |
parent | a5207304dd7cda519ae94b313b9d4fb6dbd298f6 (diff) | |
download | rneovim-37915cc5abd5c6f6ae89c1091304c8da2b0fa8fe.tar.gz rneovim-37915cc5abd5c6f6ae89c1091304c8da2b0fa8fe.tar.bz2 rneovim-37915cc5abd5c6f6ae89c1091304c8da2b0fa8fe.zip |
Merge #21444 rename mch_msg => os_msg
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 81adca8b1c..041e5ed6c3 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -214,7 +214,7 @@ void msg_grid_validate(void) } /// Displays the string 's' on the status line -/// When terminal not initialized (yet) mch_errmsg(..) is used. +/// When terminal not initialized (yet) os_errmsg(..) is used. /// /// @return true if wait_return() not called int msg(char *s) @@ -764,7 +764,7 @@ static bool emsg_multiline(const char *s, bool multiline) /// emsg() - display an error message /// /// Rings the bell, if appropriate, and calls message() to do the real work -/// When terminal not initialized (yet) mch_errmsg(..) is used. +/// When terminal not initialized (yet) os_errmsg(..) is used. /// /// @return true if wait_return() not called bool emsg(const char *s) @@ -2726,9 +2726,9 @@ static void msg_puts_printf(const char *str, const ptrdiff_t maxlen) memcpy(p, s, (size_t)len); *(p + len) = '\0'; if (info_message) { - mch_msg(buf); + os_msg(buf); } else { - mch_errmsg(buf); + os_errmsg(buf); } } @@ -3003,7 +3003,7 @@ static int do_more_prompt(int typed_char) } #if defined(MSWIN) -void mch_errmsg(char *str) +void os_errmsg(char *str) { assert(str != NULL); wchar_t *utf16str; @@ -3017,7 +3017,7 @@ void mch_errmsg(char *str) } /// Give a message. To be used when the UI is not initialized yet. -void mch_msg(char *str) +void os_msg(char *str) { assert(str != NULL); wchar_t *utf16str; |