summaryrefslogtreecommitdiff
path: root/src/composite.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-11-01 02:21:24 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-11-01 02:21:24 +0000
commitaabe85e9a982e54565aeb0438d9cf66367b04654 (patch)
tree9e5f5dfa1e8a294b1cb7bbad5c7419e58c7e3b7e /src/composite.c
parent5684a86bf9ed10ebe10d2f89b1bd07eb3cbf6a3a (diff)
downloademacs-aabe85e9a982e54565aeb0438d9cf66367b04654.tar.gz
(fill_gstring_header): Fix copy/paste typo.
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c
index 9b3de0a615c..5f04c8ae8c6 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -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);