(fill_gstring_header): Fix copy/paste typo.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 1 Nov 2008 02:21:24 +0000 (02:21 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 1 Nov 2008 02:21:24 +0000 (02:21 +0000)
src/ChangeLog
src/composite.c

index b9552ea..6182794 100644 (file)
@@ -1,3 +1,7 @@
+2008-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * composite.c (fill_gstring_header): Fix copy/paste typo.
+
 2008-10-31  Martin Rudalics  <rudalics@gmx.at>
 
        * window.c (Fnext_window, Fprevious_window): Rewrite doc-string.
index 9b3de0a..5f04c8a 100644 (file)
@@ -810,7 +810,7 @@ fill_gstring_header (header, start, end, font_object, string)
   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);