# HG changeset patch # User Kim F. Storm # Date 1047509848 0 # Node ID 784ca069adf2a2a6a096e4b0e27facf7f9e20470 # Parent bf48b2a7e1a54fdc4a9bd0f53091e2af3d4d5413 Make last change compile on non-X systems. diff -r bf48b2a7e1a5 -r 784ca069adf2 src/xdisp.c --- 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)