]> git.eshelyaron.com Git - emacs.git/commitdiff
* term.c (produce_glyphless_glyph): Remove unnecessary test.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2011 08:09:13 +0000 (01:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2011 08:09:13 +0000 (01:09 -0700)
src/ChangeLog
src/term.c

index 1d3d4d651746d72f1fb8d85437a3ef5923ee1576..47d9dbe5aa2919250b0fe80d5c59c6345e7be5ce 100644 (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.
index e84bbe125f841439d054570fb3a296f9425be639..94fafd73ed88cf0a1f0957052468dbdc4ec843f8 100644 (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);
 }