Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
59367bff
Commit
59367bff
authored
May 17, 2006
by
Kim F. Storm
Browse files
(display_tool_bar_line): Eliminate x_before variable.
parent
624d2678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/xdisp.c
src/xdisp.c
+4
-4
No files found.
src/xdisp.c
View file @
59367bff
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment