comparison 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
comparison
equal deleted inserted replaced
99300:bc68f6c19bb9 99301:ef372a9c4197
808 from_byte = CHAR_TO_BYTE (from); 808 from_byte = CHAR_TO_BYTE (from);
809 } 809 }
810 else 810 else
811 { 811 {
812 CHECK_STRING (string); 812 CHECK_STRING (string);
813 if (! STRING_MULTIBYTE (current_buffer->enable_multibyte_characters)) 813 if (! STRING_MULTIBYTE (string))
814 error ("Attempt to shape unibyte text"); 814 error ("Attempt to shape unibyte text");
815 /* FROM and TO are checked by the caller. */ 815 /* FROM and TO are checked by the caller. */
816 from = XINT (start); 816 from = XINT (start);
817 to = XINT (end); 817 to = XINT (end);
818 if (from < 0 || from > to || to > SCHARS (string)) 818 if (from < 0 || from > to || to > SCHARS (string))