From: Kim F. Storm Date: Mon, 7 Mar 2005 10:49:51 +0000 (+0000) Subject: (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. X-Git-Tag: ttn-vms-21-2-B4~1911 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6bf40bf0223741f33380ccaf7d9da0458494f00c;p=emacs.git (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. --- 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. */