diff options
author | Kim F. Storm <[email protected]> | 2006-05-17 22:37:25 +0000 |
---|---|---|
committer | Kim F. Storm <[email protected]> | 2006-05-17 22:37:25 +0000 |
commit | 59367bff6b65cb1992c43e1b57fdd9d4592b0a24 (patch) | |
tree | 58e44ca1d383be5892650bed8ebcf057a92aae6c /src/xdisp.c | |
parent | 624d2678584bd7b1d42b25ab1c617757b74a7c8e (diff) |
(display_tool_bar_line): Eliminate x_before variable.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 87764e5ecb..d74b6d04aa 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -9491,7 +9491,7 @@ display_tool_bar_line (it, height) while (it->current_x < max_x) { - int x_before, x, n_glyphs_before, i, nglyphs; + int x, n_glyphs_before, i, nglyphs; struct it it_before; /* Get the next display element. */ @@ -9504,14 +9504,14 @@ display_tool_bar_line (it, height) } /* Produce glyphs. */ - x_before = it->current_x; - n_glyphs_before = it->glyph_row->used[TEXT_AREA]; + n_glyphs_before = row->used[TEXT_AREA]; it_before = *it; + PRODUCE_GLYPHS (it); nglyphs = row->used[TEXT_AREA] - n_glyphs_before; i = 0; - x = x_before; + x = it_before.current_x; while (i < nglyphs) { struct glyph *glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i; |