]> git.eshelyaron.com Git - emacs.git/commitdiff
* dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P)
authorKim F. Storm <storm@cua.dk>
Tue, 23 Nov 2004 00:51:55 +0000 (00:51 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 23 Nov 2004 00:51:55 +0000 (00:51 +0000)
(MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero.

src/dispextern.h

index 18b05b5db0e2c7cb725938571070316777d94a87..2f80ac3615f6a1dfe8bf08f73bf68e9e52329b24 100644 (file)
@@ -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))