# HG changeset patch # User Gerd Moellmann # Date 976651448 0 # Node ID 41ad2cf8ccb805f2373159530c5347a2ffc2e309 # Parent af86f7c0989d70e58dcd14eb3dceebd2dc77f48f (display_tool_bar_line): Make sure that tool bar lines start with a relief line. diff -r af86f7c0989d -r 41ad2cf8ccb8 src/xdisp.c --- a/src/xdisp.c Tue Dec 12 19:00:34 2000 +0000 +++ b/src/xdisp.c Tue Dec 12 20:04:08 2000 +0000 @@ -7274,6 +7274,10 @@ prepare_desired_row (row); row->y = it->current_y; + + /* Note that this isn't made use of if the face hasn't a box, + so there's no need to check the face here. */ + it->start_of_box_run_p = 1; while (it->current_x < max_x) { @@ -7321,6 +7325,8 @@ extend_face_to_end_of_line (it); last = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA] - 1; last->right_box_line_p = 1; + if (last == row->glyphs[TEXT_AREA]) + last->left_box_line_p = 1; compute_line_metrics (it); /* If line is empty, make it occupy the rest of the tool-bar. */