changeset 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 bc68f6c19bb9
children 2f4e59d39285
files src/ChangeLog src/composite.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Nov 01 01:58:34 2008 +0000
+++ b/src/ChangeLog	Sat Nov 01 02:21:24 2008 +0000
@@ -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.
--- 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);