summaryrefslogtreecommitdiff
path: root/src/blockinput.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2005-03-07 01:54:13 +0000
committerAndreas Schwab <schwab@suse.de>2005-03-07 01:54:13 +0000
commitc71fd7b702190b66fc4de6e66192c71aea401f10 (patch)
tree8ca5c67182e250152cb89c779f98f88e8355931b /src/blockinput.h
parent285d5fe65bf1e773db6c852d9948c476996a69a2 (diff)
downloademacs-c71fd7b702190b66fc4de6e66192c71aea401f10.tar.gz
(UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT.
Diffstat (limited to 'src/blockinput.h')
-rw-r--r--src/blockinput.h4
1 files changed, 1 insertions, 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)