HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5588091
)
(next_element_from_display_vector): Move assignment out
author
Jason Rumney
<jasonr@gnu.org>
Wed, 2 Jul 2008 15:20:33 +0000
(15:20 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Wed, 2 Jul 2008 15:20:33 +0000
(15:20 +0000)
of if statement.
src/xdisp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index
692db8b
..
c0f0ca9
100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-6227,9
+6227,9
@@
next_element_from_display_vector (it)
/* KFS: This code used to check ip->dpvec[0] instead of the current element.
That seemed totally bogus - so I changed it... */
+ gc = it->dpvec[it->current.dpvec_index];
- if ((gc = it->dpvec[it->current.dpvec_index], GLYPH_CODE_P (gc))
- && GLYPH_CODE_CHAR_VALID_P (gc))
+ if (GLYPH_CODE_P (gc) && GLYPH_CODE_CHAR_VALID_P (gc))
{
it->c = GLYPH_CODE_CHAR (gc);
it->len = CHAR_BYTES (it->c);