(fill_gstring_header): Fix copy/paste typo.

This commit is contained in:
Stefan Monnier 2008-11-01 02:21:24 +00:00
parent a11d373796
commit 793ffee82e
2 changed files with 5 additions and 1 deletions

View 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.

View 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);