From 64c7897ac67116932a59c198710bca379537b56d Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 7 May 2003 06:04:29 +0000 Subject: [PATCH] Using new K_NONE macro (instead of 0). Baja inkey and inchar functions now use an inkey timeout of 1ms. --- src/sbbs3/exec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/exec.cpp b/src/sbbs3/exec.cpp index db459b406c..7d4ca4aca5 100644 --- a/src/sbbs3/exec.cpp +++ b/src/sbbs3/exec.cpp @@ -1680,14 +1680,14 @@ int sbbs_t::exec(csi_t *csi) csi->cmd=getkey(0); return(0); case CS_INKEY: - csi->cmd=toupper(inkey(K_GETSTR)); + csi->cmd=toupper(inkey(K_NONE,1)); if(csi->cmd) csi->logic=LOGIC_TRUE; else csi->logic=LOGIC_FALSE; return(0); case CS_INCHAR: - csi->cmd=inkey(K_GETSTR); + csi->cmd=inkey(K_NONE,1); if(csi->cmd) csi->logic=LOGIC_TRUE; else -- GitLab