mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-19 20:30:29 -08:00
(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
|
|
@ -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
Add a link
Reference in a new issue