forked from aniani/vim
patch 8.1.0770: inconsistent use of ELAPSED_FUNC
Problem: Inconsistent use of ELAPSED_FUNC. Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a typedef. (Ozaki Kiichi, closes #3815)
This commit is contained in:
@@ -3891,7 +3891,7 @@ vim_beep(
|
||||
{
|
||||
#ifdef ELAPSED_FUNC
|
||||
static int did_init = FALSE;
|
||||
static ELAPSED_TYPE start_tv;
|
||||
static elapsed_T start_tv;
|
||||
|
||||
/* Only beep once per half a second, otherwise a sequence of beeps
|
||||
* would freeze Vim. */
|
||||
|
Reference in New Issue
Block a user