Mercurial > vim
diff src/os_msdos.c @ 799:6beb2c667935
updated for version 7.0b
author | vimboss |
---|---|
date | Fri, 24 Mar 2006 22:21:52 +0000 |
parents | 8ae24f338cab |
children | 302520c08584 |
line wrap: on
line diff
--- 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) {