diff src/xmenu.c @ 6764:52b64d326287

(Fx_popup_menu): Use line_height field.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Apr 1994 06:32:17 +0000
parents cda1ce7952ca
children 796416bd7f7e
line wrap: on
line diff
--- a/src/xmenu.c	Sat Apr 09 04:15:16 1994 +0000
+++ b/src/xmenu.c	Sat Apr 09 06:32:17 1994 +0000
@@ -746,7 +746,7 @@
 	  f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
 
 	  xpos = (FONT_WIDTH (f->display.x->font) * XWINDOW (window)->left);
-	  ypos = (FONT_HEIGHT (f->display.x->font) * XWINDOW (window)->top);
+	  ypos = (f->display.x->line_height * XWINDOW (window)->top);
 	}
       else
 	/* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME,