Commit d284567f authored by Paul Eggert's avatar Paul Eggert
Browse files

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

parent 12ea59a2
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.
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment