changeset 2918:718a69677759

Get the types right, baby.
author Jim Blandy <jimb@redhat.com>
date Thu, 20 May 1993 02:15:28 +0000
parents 725698689fbd
children 2420d37c5335
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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