aboutsummaryrefslogtreecommitdiffstats
path: root/src/macterm.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-10-07 07:40:35 +0000
committerYAMAMOTO Mitsuharu2005-10-07 07:40:35 +0000
commitc2ded1b7d5b6ced034c2291d5078416fbc58fafc (patch)
tree63aa71560f94069f1d2d75bab5dfe0529b42ad8c /src/macterm.c
parenta66678fd3c23322bdebbe285086e9a6d9db1593d (diff)
downloademacs-c2ded1b7d5b6ced034c2291d5078416fbc58fafc.tar.gz
emacs-c2ded1b7d5b6ced034c2291d5078416fbc58fafc.zip
Rename member for_overlaps_p in struct glyph_string to for_overlaps.
Diffstat (limited to 'src/macterm.c')
-rw-r--r--src/macterm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/macterm.c b/src/macterm.c
index ff4dde4c74b..94a2c4d5434 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -2320,7 +2320,7 @@ x_draw_glyph_string_foreground (s)
2320 XDrawImageString is usually faster than XDrawString.) Always 2320 XDrawImageString is usually faster than XDrawString.) Always
2321 use XDrawImageString when drawing the cursor so that there is 2321 use XDrawImageString when drawing the cursor so that there is
2322 no chance that characters under a box cursor are invisible. */ 2322 no chance that characters under a box cursor are invisible. */
2323 if (s->for_overlaps_p 2323 if (s->for_overlaps
2324 || (s->background_filled_p && s->hl != DRAW_CURSOR)) 2324 || (s->background_filled_p && s->hl != DRAW_CURSOR))
2325#endif 2325#endif
2326 { 2326 {
@@ -3271,7 +3271,7 @@ x_draw_glyph_string (s)
3271 draw a cursor, draw the background of the successor first so that 3271 draw a cursor, draw the background of the successor first so that
3272 S can draw into it. This makes S->next use XDrawString instead 3272 S can draw into it. This makes S->next use XDrawString instead
3273 of XDrawImageString. */ 3273 of XDrawImageString. */
3274 if (s->next && s->right_overhang && !s->for_overlaps_p 3274 if (s->next && s->right_overhang && !s->for_overlaps
3275 && s->next->hl != DRAW_CURSOR) 3275 && s->next->hl != DRAW_CURSOR)
3276 { 3276 {
3277 xassert (s->next->img == NULL); 3277 xassert (s->next->img == NULL);
@@ -3285,7 +3285,7 @@ x_draw_glyph_string (s)
3285 3285
3286 /* Draw relief (if any) in advance for char/composition so that the 3286 /* Draw relief (if any) in advance for char/composition so that the
3287 glyph string can be drawn over it. */ 3287 glyph string can be drawn over it. */
3288 if (!s->for_overlaps_p 3288 if (!s->for_overlaps
3289 && s->face->box != FACE_NO_BOX 3289 && s->face->box != FACE_NO_BOX
3290 && (s->first_glyph->type == CHAR_GLYPH 3290 && (s->first_glyph->type == CHAR_GLYPH
3291 || s->first_glyph->type == COMPOSITE_GLYPH)) 3291 || s->first_glyph->type == COMPOSITE_GLYPH))
@@ -3311,7 +3311,7 @@ x_draw_glyph_string (s)
3311 break; 3311 break;
3312 3312
3313 case CHAR_GLYPH: 3313 case CHAR_GLYPH:
3314 if (s->for_overlaps_p) 3314 if (s->for_overlaps)
3315 s->background_filled_p = 1; 3315 s->background_filled_p = 1;
3316 else 3316 else
3317 x_draw_glyph_string_background (s, 0); 3317 x_draw_glyph_string_background (s, 0);
@@ -3319,7 +3319,7 @@ x_draw_glyph_string (s)
3319 break; 3319 break;
3320 3320
3321 case COMPOSITE_GLYPH: 3321 case COMPOSITE_GLYPH:
3322 if (s->for_overlaps_p || s->gidx > 0) 3322 if (s->for_overlaps || s->gidx > 0)
3323 s->background_filled_p = 1; 3323 s->background_filled_p = 1;
3324 else 3324 else
3325 x_draw_glyph_string_background (s, 1); 3325 x_draw_glyph_string_background (s, 1);
@@ -3330,7 +3330,7 @@ x_draw_glyph_string (s)
3330 abort (); 3330 abort ();
3331 } 3331 }
3332 3332
3333 if (!s->for_overlaps_p) 3333 if (!s->for_overlaps)
3334 { 3334 {
3335 /* Draw underline. */ 3335 /* Draw underline. */
3336 if (s->face->underline_p) 3336 if (s->face->underline_p)