changeset 60474:3bb3556e7af0

(UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT.
author Andreas Schwab <schwab@suse.de>
date Mon, 07 Mar 2005 01:54:13 +0000
parents 737e494abed6
children 79a6a2fec394
files src/blockinput.h
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/blockinput.h	Sun Mar 06 23:39:52 2005 +0000
+++ b/src/blockinput.h	Mon Mar 07 01:54:13 2005 +0000
@@ -111,10 +111,8 @@
 #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)