changeset 50105:784ca069adf2

Make last change compile on non-X systems.
author Kim F. Storm <storm@cua.dk>
date Wed, 12 Mar 2003 22:57:28 +0000
parents bf48b2a7e1a5
children 5675d6a0080c
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Mar 12 22:56:38 2003 +0000
+++ b/src/xdisp.c	Wed Mar 12 22:57:28 2003 +0000
@@ -8352,7 +8352,7 @@
       int left_wid = left_fringe_width >= 0 ? left_fringe_width : -left_fringe_width;
       int right_wid = right_fringe_width >= 0 ? right_fringe_width : -right_fringe_width;
       int conf_wid = left_wid + right_wid;
-      int font_wid = FONT_WIDTH (f->output_data.x->font);
+      int font_wid = FONT_WIDTH (FRAME_FONT (f));
       int cols = (left_wid + right_wid + font_wid-1) / font_wid;
       int real_wid = cols * font_wid;
       if (left_wid && right_wid)