(DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
This commit is contained in:
parent
a1c2ac9a20
commit
f937a7db33
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-02-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
|
||||
|
||||
2008-02-07 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
Use "do...while (0)", not "if (1)..else" in macro definitions.
|
||||
|
|
|
@ -1898,7 +1898,7 @@ detect_coding_emacs_mule (coding, detect_info)
|
|||
value 0. */
|
||||
|
||||
#define DECODE_EMACS_MULE_COMPOSITION_CHAR(buf) \
|
||||
if (1) \
|
||||
do \
|
||||
{ \
|
||||
int c; \
|
||||
int nbytes, nchars; \
|
||||
|
@ -1916,7 +1916,7 @@ detect_coding_emacs_mule (coding, detect_info)
|
|||
src += nbytes; \
|
||||
consumed_chars += nchars; \
|
||||
} \
|
||||
else
|
||||
while (0)
|
||||
|
||||
|
||||
/* Decode a composition rule represented as a component of composition
|
||||
|
|
Loading…
Add table
Reference in a new issue