diff options
| author | Jim Blandy | 1993-06-17 22:03:40 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-17 22:03:40 +0000 |
| commit | 582080c149704368c2ed6d64b6ee2df11cc76f61 (patch) | |
| tree | 376fd24c1862b8085707b7b883561c4473ff9677 /src | |
| parent | b5aaed99d0021ea3c2943f98225239d051e60007 (diff) | |
| download | emacs-582080c149704368c2ed6d64b6ee2df11cc76f61.tar.gz emacs-582080c149704368c2ed6d64b6ee2df11cc76f61.zip | |
* xfaces.c (compute_base_face): Initialize the face's stipple.
Although we don't use this feature now, face_eql notices it.
* xfaces.c (compute_base_face): Set cached_index to an invalid
index, to avoid an unnecessary comparison.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 41436ad4e40..8a00ece903d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -647,7 +647,11 @@ compute_base_face (f, face) | |||
| 647 | face->foreground = d->foreground_pixel; | 647 | face->foreground = d->foreground_pixel; |
| 648 | face->background = d->background_pixel; | 648 | face->background = d->background_pixel; |
| 649 | face->font = d->font; | 649 | face->font = d->font; |
| 650 | face->stipple = 0; | ||
| 650 | face->underline = 0; | 651 | face->underline = 0; |
| 652 | |||
| 653 | /* Avoid a face comparison by making this invalid. */ | ||
| 654 | face->cached_index = -1; | ||
| 651 | } | 655 | } |
| 652 | 656 | ||
| 653 | 657 | ||