aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorJan Djärv <[email protected]>2008-02-07 12:55:55 +0000
committerJan Djärv <[email protected]>2008-02-07 12:55:55 +0000
commitf937a7db33f4d330b2827981cb07c482ceb50fc8 (patch)
tree5bbbf5940318e71c20e065de5c651efdfa2aa756 /src/coding.c
parenta1c2ac9a200a3c40a373a6cef97c0c96fdfb2c09 (diff)
(DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index 7e9a497f1e..9372616958 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -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