diff options
| author | Jim Blandy | 1993-05-20 02:15:28 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-20 02:15:28 +0000 |
| commit | 3e4439ab30c17e1f3dc1d6f7584e4d50c51465e2 (patch) | |
| tree | f470397f6e146d69702657bcdae770e259b559ec /src | |
| parent | 161aa2f8d8e00a768d234a84544fd93616c5590b (diff) | |
| download | emacs-3e4439ab30c17e1f3dc1d6f7584e4d50c51465e2.tar.gz emacs-3e4439ab30c17e1f3dc1d6f7584e4d50c51465e2.zip | |
Get the types right, baby.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 48068b014f8..285ac3f6bf1 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -558,8 +558,8 @@ static int | |||
| 558 | same_size_fonts (font1, font2) | 558 | same_size_fonts (font1, font2) |
| 559 | XFontStruct *font1, *font2; | 559 | XFontStruct *font1, *font2; |
| 560 | { | 560 | { |
| 561 | XCharStruct *bounds1 = font1->min_bounds; | 561 | XCharStruct *bounds1 = &font1->min_bounds; |
| 562 | XCharStruct *bounds2 = font2->min_bounds; | 562 | XCharStruct *bounds2 = &font2->min_bounds; |
| 563 | 563 | ||
| 564 | return (bounds1->width == bounds2->width | 564 | return (bounds1->width == bounds2->width |
| 565 | && bounds1->ascent == bounds2->ascent | 565 | && bounds1->ascent == bounds2->ascent |