diff options
author | Kim F. Storm <storm@cua.dk> | 2004-11-23 00:51:55 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2004-11-23 00:51:55 +0000 |
commit | e6fb381c3eff96271ffe829074ce92465c791b50 (patch) | |
tree | 3634272f2a432b8d0153f37e7a8c5e12038da2f0 /src/dispextern.h | |
parent | 4d7211144f7518b8204a73de96d073298e3e0f69 (diff) | |
download | emacs-e6fb381c3eff96271ffe829074ce92465c791b50.tar.gz |
* dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P)
(MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r-- | src/dispextern.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |