From 6bf40bf0223741f33380ccaf7d9da0458494f00c Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 7 Mar 2005 10:49:51 +0000 Subject: [PATCH] (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. --- src/blockinput.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockinput.h b/src/blockinput.h index 74ef7603f40..6aa865ea9be 100644 --- a/src/blockinput.h +++ b/src/blockinput.h @@ -98,12 +98,12 @@ extern int pending_atimers; and also reinvoke any pending signal. */ #define TOTALLY_UNBLOCK_INPUT \ - if (interrupt_input_blocked != 0) \ + do if (interrupt_input_blocked != 0) \ { \ interrupt_input_blocked = 1; \ UNBLOCK_INPUT; \ } \ - else + while (0) /* Undo any number of BLOCK_INPUT calls down to level LEVEL, and also (if the level is now 0) reinvoke any pending signal. */ -- 2.39.2