summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-05-25 21:23:21 +0200
committerBram Moolenaar <Bram@vim.org>2016-05-25 21:23:21 +0200
commit8e8df251bf2505e5decf258397c6069fbe5e2e01 (patch)
treea2326994d025d4a6e143104e221c499b54357481 /src/getchar.c
parent2177f9fe18a927ef65ccebb0856722a28dc00252 (diff)
patch 7.4.1844v7.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().
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index c771117add..81cb83794c 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -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;