aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2006-05-17 22:37:25 +0000
committerKim F. Storm2006-05-17 22:37:25 +0000
commit59367bff6b65cb1992c43e1b57fdd9d4592b0a24 (patch)
tree58e44ca1d383be5892650bed8ebcf057a92aae6c /src
parent624d2678584bd7b1d42b25ab1c617757b74a7c8e (diff)
downloademacs-59367bff6b65cb1992c43e1b57fdd9d4592b0a24.tar.gz
emacs-59367bff6b65cb1992c43e1b57fdd9d4592b0a24.zip
(display_tool_bar_line): Eliminate x_before variable.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 87764e5ecb6..d74b6d04aa5 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -9491,7 +9491,7 @@ display_tool_bar_line (it, height)
9491 9491
9492 while (it->current_x < max_x) 9492 while (it->current_x < max_x)
9493 { 9493 {
9494 int x_before, x, n_glyphs_before, i, nglyphs; 9494 int x, n_glyphs_before, i, nglyphs;
9495 struct it it_before; 9495 struct it it_before;
9496 9496
9497 /* Get the next display element. */ 9497 /* Get the next display element. */
@@ -9504,14 +9504,14 @@ display_tool_bar_line (it, height)
9504 } 9504 }
9505 9505
9506 /* Produce glyphs. */ 9506 /* Produce glyphs. */
9507 x_before = it->current_x; 9507 n_glyphs_before = row->used[TEXT_AREA];
9508 n_glyphs_before = it->glyph_row->used[TEXT_AREA];
9509 it_before = *it; 9508 it_before = *it;
9509
9510 PRODUCE_GLYPHS (it); 9510 PRODUCE_GLYPHS (it);
9511 9511
9512 nglyphs = row->used[TEXT_AREA] - n_glyphs_before; 9512 nglyphs = row->used[TEXT_AREA] - n_glyphs_before;
9513 i = 0; 9513 i = 0;
9514 x = x_before; 9514 x = it_before.current_x;
9515 while (i < nglyphs) 9515 while (i < nglyphs)
9516 { 9516 {
9517 struct glyph *glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i; 9517 struct glyph *glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i;