aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1993-05-20 02:15:28 +0000
committerJim Blandy <[email protected]>1993-05-20 02:15:28 +0000
commit3e4439ab30c17e1f3dc1d6f7584e4d50c51465e2 (patch)
treef470397f6e146d69702657bcdae770e259b559ec
parent161aa2f8d8e00a768d234a84544fd93616c5590b (diff)
Get the types right, baby.
-rw-r--r--src/xfaces.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 48068b014f..285ac3f6bf 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -558,8 +558,8 @@ static int
same_size_fonts (font1, font2)
XFontStruct *font1, *font2;
{
- XCharStruct *bounds1 = font1->min_bounds;
- XCharStruct *bounds2 = font2->min_bounds;
+ XCharStruct *bounds1 = &font1->min_bounds;
+ XCharStruct *bounds2 = &font2->min_bounds;
return (bounds1->width == bounds2->width
&& bounds1->ascent == bounds2->ascent