0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1844

Problem:    Using old function name in comment.  More functions should start
            with test_.
Solution:   Rename function in comment. (Higashi Higashi) Rename
            disable_char_avail_for_testing() to test_disable_char_avail().
            And alloc_fail() to test_alloc_fail().
This commit is contained in:
Bram Moolenaar
2016-05-25 21:23:21 +02:00
parent 2177f9fe18
commit 8e8df251bf
7 changed files with 68 additions and 67 deletions

View File

@@ -1880,7 +1880,7 @@ char_avail(void)
int retval;
#ifdef FEAT_EVAL
/* When disable_char_avail_for_testing(1) was called pretend there is no
/* When test_disable_char_avail(1) was called pretend there is no
* typeahead. */
if (disable_char_avail_for_testing)
return FALSE;