Skip to content
Snippets Groups Projects
Commit 64c7897a authored by rswindell's avatar rswindell
Browse files

Using new K_NONE macro (instead of 0).

Baja inkey and inchar functions now use an inkey timeout of 1ms.
parent 9e5b833e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment