summaryrefslogtreecommitdiffstats
path: root/src/os_msdos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_msdos.c')
-rw-r--r--src/os_msdos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_msdos.c b/src/os_msdos.c
index 84341edf0e..dee6d91280 100644
--- a/src/os_msdos.c
+++ b/src/os_msdos.c
@@ -711,9 +711,7 @@ vim_kbhit(void)
static int
WaitForChar(long msec)
{
- union REGS regs;
long starttime = 0;
- int x, y;
if (msec != 0)
starttime = biostime(0, 0L);
@@ -723,6 +721,8 @@ WaitForChar(long msec)
#ifdef FEAT_MOUSE
long clicktime;
static int old_status = 0;
+ union REGS regs;
+ int x, y;
if (mouse_avail && mouse_active && mouse_click < 0)
{