aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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