From c71fd7b702190b66fc4de6e66192c71aea401f10 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 7 Mar 2005 01:54:13 +0000 Subject: [PATCH] (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT. --- src/blockinput.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/blockinput.h b/src/blockinput.h index a3b50d2a0f2..74ef7603f40 100644 --- a/src/blockinput.h +++ b/src/blockinput.h @@ -111,10 +111,8 @@ extern int pending_atimers; #define UNBLOCK_INPUT_TO(LEVEL) \ do \ { \ - int oldlevel = interrupt_input_blocked; \ interrupt_input_blocked = (LEVEL) + 1; \ - if (interrupt_input_blocked != oldlevel + 1) \ - UNBLOCK_INPUT; \ + UNBLOCK_INPUT; \ } \ while (0) -- 2.39.2