diff src/xfaces.c @ 2918:718a69677759

Get the types right, baby.
author Jim Blandy <jimb@redhat.com>
date Thu, 20 May 1993 02:15:28 +0000
parents b8a3b11892dc
children e94a593c3952
line wrap: on
line diff
--- a/src/xfaces.c	Thu May 20 02:14:56 1993 +0000
+++ b/src/xfaces.c	Thu May 20 02:15:28 1993 +0000
@@ -558,8 +558,8 @@
 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