diff src/composite.c @ 99301:ef372a9c4197

(fill_gstring_header): Fix copy/paste typo.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 01 Nov 2008 02:21:24 +0000
parents 690a23ccfcf9
children 0ba1e475119f
line wrap: on
line diff
--- a/src/composite.c	Sat Nov 01 01:58:34 2008 +0000
+++ b/src/composite.c	Sat Nov 01 02:21:24 2008 +0000
@@ -810,7 +810,7 @@
   else
     {
       CHECK_STRING (string);
-      if (! STRING_MULTIBYTE (current_buffer->enable_multibyte_characters))
+      if (! STRING_MULTIBYTE (string))
 	error ("Attempt to shape unibyte text");
       /* FROM and TO are checked by the caller.  */
       from = XINT (start);