diff options
Diffstat (limited to 'src/xfont.c')
| -rw-r--r-- | src/xfont.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xfont.c b/src/xfont.c index 10cc321b60c..55053b9a421 100644 --- a/src/xfont.c +++ b/src/xfont.c | |||
| @@ -132,7 +132,7 @@ static int xfont_check (struct frame *, struct font *); | |||
| 132 | struct font_driver xfont_driver = | 132 | struct font_driver xfont_driver = |
| 133 | { | 133 | { |
| 134 | LISP_INITIALLY_ZERO, /* Qx */ | 134 | LISP_INITIALLY_ZERO, /* Qx */ |
| 135 | 0, /* case insensitive */ | 135 | false, /* case insensitive */ |
| 136 | xfont_get_cache, | 136 | xfont_get_cache, |
| 137 | xfont_list, | 137 | xfont_list, |
| 138 | xfont_match, | 138 | xfont_match, |
| @@ -269,7 +269,7 @@ xfont_chars_supported (Lisp_Object chars, XFontStruct *xfont, | |||
| 269 | } | 269 | } |
| 270 | return (i >= 0); | 270 | return (i >= 0); |
| 271 | } | 271 | } |
| 272 | return 0; | 272 | return false; |
| 273 | } | 273 | } |
| 274 | 274 | ||
| 275 | /* A hash table recoding which font supports which scripts. Each key | 275 | /* A hash table recoding which font supports which scripts. Each key |
| @@ -983,7 +983,7 @@ xfont_text_extents (struct font *font, unsigned int *code, | |||
| 983 | int i, width = 0; | 983 | int i, width = 0; |
| 984 | bool first; | 984 | bool first; |
| 985 | 985 | ||
| 986 | for (i = 0, first = 1; i < nglyphs; i++) | 986 | for (i = 0, first = true; i < nglyphs; i++) |
| 987 | { | 987 | { |
| 988 | XChar2b char2b; | 988 | XChar2b char2b; |
| 989 | static XCharStruct *pcm; | 989 | static XCharStruct *pcm; |
| @@ -1000,7 +1000,7 @@ xfont_text_extents (struct font *font, unsigned int *code, | |||
| 1000 | metrics->rbearing = pcm->rbearing; | 1000 | metrics->rbearing = pcm->rbearing; |
| 1001 | metrics->ascent = pcm->ascent; | 1001 | metrics->ascent = pcm->ascent; |
| 1002 | metrics->descent = pcm->descent; | 1002 | metrics->descent = pcm->descent; |
| 1003 | first = 0; | 1003 | first = false; |
| 1004 | } | 1004 | } |
| 1005 | else | 1005 | else |
| 1006 | { | 1006 | { |