Allow calling 'WAIT' alone during a keyboard event handler.
[GB.QT4] * BUG: Allow calling 'WAIT' alone during a keyboard event handler. [GB.QT5] * BUG: Allow calling 'WAIT' alone during a keyboard event handler.
This commit is contained in:
parent
9d989a4ddf
commit
97d862a2d0
2 changed files with 2 additions and 2 deletions
|
@ -1044,7 +1044,7 @@ static void hook_wait(int duration)
|
|||
return;
|
||||
}
|
||||
|
||||
if (CKEY_is_valid())
|
||||
if (CKEY_is_valid() && duration != -1)
|
||||
{
|
||||
if (!_warning)
|
||||
{
|
||||
|
|
|
@ -808,7 +808,7 @@ static void hook_wait(int duration)
|
|||
return;
|
||||
}
|
||||
|
||||
if (CKEY_is_valid())
|
||||
if (CKEY_is_valid() && duration != -1)
|
||||
{
|
||||
if (!_warning)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue