From 3ecd814e63a1b4aeb03809be5ab764efd1974145 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Wed, 12 Mar 2003 22:57:28 +0000 Subject: [PATCH] Make last change compile on non-X systems. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 84bc12ca1ad..592c205ad72 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -8352,7 +8352,7 @@ compute_fringe_widths (f, redraw) 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) -- 2.39.2