changeset 58447:be0cfc84ea0f

* dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero.
author Kim F. Storm <storm@cua.dk>
date Tue, 23 Nov 2004 00:51:55 +0000
parents 0582bf7a9726
children f3a76c43ac80
files src/dispextern.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Tue Nov 23 00:51:35 2004 +0000
+++ b/src/dispextern.h	Tue Nov 23 00:51:55 2004 +0000
@@ -974,7 +974,7 @@
    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 @@
 /* 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))