aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-20 02:15:28 +0000
committerJim Blandy1993-05-20 02:15:28 +0000
commit3e4439ab30c17e1f3dc1d6f7584e4d50c51465e2 (patch)
treef470397f6e146d69702657bcdae770e259b559ec /src
parent161aa2f8d8e00a768d234a84544fd93616c5590b (diff)
downloademacs-3e4439ab30c17e1f3dc1d6f7584e4d50c51465e2.tar.gz
emacs-3e4439ab30c17e1f3dc1d6f7584e4d50c51465e2.zip
Get the types right, baby.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c4
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
558same_size_fonts (font1, font2) 558same_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