changeset 91696:31222e6bb42e

(FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of unibyte_char_to_multibyte.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 09 Feb 2008 10:52:36 +0000
parents d6b75497b5cb
children 056e52861ec3
files src/buffer.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.h	Sat Feb 09 09:51:11 2008 +0000
+++ b/src/buffer.h	Sat Feb 09 10:52:36 2008 +0000
@@ -343,7 +343,7 @@
 #define FETCH_CHAR_AS_MULTIBYTE(pos)			\
   (!NILP (current_buffer->enable_multibyte_characters)	\
    ? FETCH_MULTIBYTE_CHAR ((pos))			\
-   : unibyte_char_to_multibyte (FETCH_BYTE ((pos))))
+   : unibyte_to_multibyte_table[(FETCH_BYTE ((pos)))])
 
 
 /* Macros for accessing a character or byte,