From: Kim F. Storm Date: Tue, 23 Nov 2004 00:51:55 +0000 (+0000) Subject: * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) X-Git-Tag: ttn-vms-21-2-B4~3731 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6fb381c3eff96271ffe829074ce92465c791b50;p=emacs.git * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero. --- diff --git a/src/dispextern.h b/src/dispextern.h index 18b05b5db0e..2f80ac3615f 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -974,7 +974,7 @@ struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int)); or a control char, or an overlay string. */ #define MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P(ROW) \ - ((ROW)->end.dpvec_index >= 0 \ + ((ROW)->end.dpvec_index > 0 \ || (ROW)->end.overlay_string_index >= 0 \ || (ROW)->ends_in_middle_of_char_p) @@ -986,7 +986,7 @@ struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int)); /* Non-zero if ROW starts in the middle of a character. See above. */ #define MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P(ROW) \ - ((ROW)->start.dpvec_index >= 0 \ + ((ROW)->start.dpvec_index > 0 \ || (ROW)->starts_in_middle_of_char_p \ || ((ROW)->start.overlay_string_index >= 0 \ && (ROW)->start.string_pos.charpos > 0))