summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 21a8045b..78adddda 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -199,7 +199,7 @@ static int water_which_flag = 0;
int
igetch()
{
- register int ch, mode =0, last;
+ register int ch, mode = 0, last = 0;
while ((ch = dogetch())) {
if (mode == 0 && ch == KEY_ESC) // here is state machine for 2 bytes key
mode = 1;