From d284567f963fcbd340feef4d6fa46aa371c09b29 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 23 Mar 2011 01:09:13 -0700 Subject: [PATCH] * term.c (produce_glyphless_glyph): Remove unnecessary test. --- src/ChangeLog | 2 ++ src/term.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1d3d4d65174..47d9dbe5aa2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-23 Paul Eggert + * 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. diff --git a/src/term.c b/src/term.c index e84bbe125f8..94fafd73ed8 100644 --- a/src/term.c +++ b/src/term.c @@ -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); } -- 2.11.4.GIT