# HG changeset patch # User Kenichi Handa # Date 1031025967 0 # Node ID 98dcb14bf34cf70a4e6a1b652138179ca3c2f8fb # Parent c00be25be9ad04b7135d187eec8304768c0fa594 (Fexpand_abbrev): Convert a unibyte character to multibyte if necessary. diff -r c00be25be9ad -r 98dcb14bf34c src/abbrev.c --- a/src/abbrev.c Tue Sep 03 04:05:26 2002 +0000 +++ b/src/abbrev.c Tue Sep 03 04:06:07 2002 +0000 @@ -295,9 +295,7 @@ FETCH_CHAR_ADVANCE (c, idx, idx_byte); if (! multibyte) - { - MAKE_CHAR_MULTIBYTE (c); - } + MAKE_CHAR_MULTIBYTE (c); if (UPPERCASEP (c)) c = DOWNCASE (c), uccount++; @@ -384,7 +382,7 @@ /* Find the initial. */ while (pos < PT_BYTE - && SYNTAX (*BUF_BYTE_ADDRESS (current_buffer, pos)) != Sword) + && SYNTAX (FETCH_CHAR_AS_MULTIBYTE (pos)) != Sword) pos++; /* Change just that. */