Mercurial > emacs
diff src/coding.c @ 91622:0a283ea23533
(DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
| author | Jan Dj?rv <jan.h.d@swipnet.se> |
|---|---|
| date | Thu, 07 Feb 2008 12:55:44 +0000 |
| parents | 419a669bc4f2 |
| children | 507bcfb4342c |
line wrap: on
line diff
--- a/src/coding.c Thu Feb 07 12:55:00 2008 +0000 +++ b/src/coding.c Thu Feb 07 12:55:44 2008 +0000 @@ -1898,7 +1898,7 @@ value 0. */ #define DECODE_EMACS_MULE_COMPOSITION_CHAR(buf) \ - if (1) \ + do \ { \ int c; \ int nbytes, nchars; \ @@ -1916,7 +1916,7 @@ src += nbytes; \ consumed_chars += nchars; \ } \ - else + while (0) /* Decode a composition rule represented as a component of composition
