summaryrefslogtreecommitdiff
path: root/enc/trans/utf8_mac.trans
diff options
context:
space:
mode:
Diffstat (limited to 'enc/trans/utf8_mac.trans')
-rw-r--r--enc/trans/utf8_mac.trans4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/trans/utf8_mac.trans b/enc/trans/utf8_mac.trans
index 3ceb07eeb4..0d69dba46a 100644
--- a/enc/trans/utf8_mac.trans
+++ b/enc/trans/utf8_mac.trans
@@ -150,10 +150,10 @@ buf_apply(int mode, struct from_utf8_mac_status *sp, unsigned char *o)
next_info = get_info(next_info, sp);
switch (next_info & 0x1F) {
case THREEbt:
- o[n++] = getBT1(next_info);
case TWObt:
+ o[n++] = getBT1(next_info);
o[n++] = getBT2(next_info);
- o[n++] = getBT3(next_info);
+ if (THREEbt == (next_info & 0x1F)) o[n++] = getBT3(next_info);
if (mode == 3) {
buf_clear(sp);
}