From: Kim F. Storm Date: Wed, 12 Mar 2003 22:57:28 +0000 (+0000) Subject: Make last change compile on non-X systems. X-Git-Tag: ttn-vms-21-2-B4~10927 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ecd814e63a1b4aeb03809be5ab764efd1974145;p=emacs.git Make last change compile on non-X systems. --- 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)