1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00

* term.c (produce_glyphless_glyph): Remove unnecessary test.

This commit is contained in:
Paul Eggert 2011-03-23 01:09:13 -07:00
parent 12ea59a297
commit d284567f96
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
* term.c (produce_glyphless_glyph): Remove unnecessary test.
* cm.c (calccost): Turn while-do into do-while, for clarity.
Fix more problems found by GCC 4.5.2's static checks.

View file

@ -1952,7 +1952,7 @@ produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
it->pixel_width = len;
it->nglyphs = len;
if (len > 0 && it->glyph_row)
if (it->glyph_row)
append_glyphless_glyph (it, face_id, str);
}