Mercurial > emacs
comparison src/xdisp.c @ 96493:eee935c288d1
(next_element_from_display_vector): Move assignment out
of if statement.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 02 Jul 2008 15:20:33 +0000 |
parents | 2af6e85f13d5 |
children | a8382026762a |
comparison
equal
deleted
inserted
replaced
96492:7d58361bf4f2 | 96493:eee935c288d1 |
---|---|
6225 | 6225 |
6226 it->face_id = it->saved_face_id; | 6226 it->face_id = it->saved_face_id; |
6227 | 6227 |
6228 /* KFS: This code used to check ip->dpvec[0] instead of the current element. | 6228 /* KFS: This code used to check ip->dpvec[0] instead of the current element. |
6229 That seemed totally bogus - so I changed it... */ | 6229 That seemed totally bogus - so I changed it... */ |
6230 | 6230 gc = it->dpvec[it->current.dpvec_index]; |
6231 if ((gc = it->dpvec[it->current.dpvec_index], GLYPH_CODE_P (gc)) | 6231 |
6232 && GLYPH_CODE_CHAR_VALID_P (gc)) | 6232 if (GLYPH_CODE_P (gc) && GLYPH_CODE_CHAR_VALID_P (gc)) |
6233 { | 6233 { |
6234 it->c = GLYPH_CODE_CHAR (gc); | 6234 it->c = GLYPH_CODE_CHAR (gc); |
6235 it->len = CHAR_BYTES (it->c); | 6235 it->len = CHAR_BYTES (it->c); |
6236 | 6236 |
6237 /* The entry may contain a face id to use. Such a face id is | 6237 /* The entry may contain a face id to use. Such a face id is |