diff options
| author | Paul Eggert | 2011-03-23 01:09:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-23 01:09:13 -0700 |
| commit | d284567f963fcbd340feef4d6fa46aa371c09b29 (patch) | |
| tree | 34217252bcb8cfadd7549c8890752d152ee6a3e9 /src | |
| parent | 12ea59a297551086de418573f6ee201fc3ef2768 (diff) | |
| download | emacs-d284567f963fcbd340feef4d6fa46aa371c09b29.tar.gz emacs-d284567f963fcbd340feef4d6fa46aa371c09b29.zip | |
* term.c (produce_glyphless_glyph): Remove unnecessary test.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/term.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1d3d4d65174..47d9dbe5aa2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-03-23 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * term.c (produce_glyphless_glyph): Remove unnecessary test. | ||
| 4 | |||
| 3 | * cm.c (calccost): Turn while-do into do-while, for clarity. | 5 | * cm.c (calccost): Turn while-do into do-while, for clarity. |
| 4 | 6 | ||
| 5 | Fix more problems found by GCC 4.5.2's static checks. | 7 | 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) | |||
| 1952 | 1952 | ||
| 1953 | it->pixel_width = len; | 1953 | it->pixel_width = len; |
| 1954 | it->nglyphs = len; | 1954 | it->nglyphs = len; |
| 1955 | if (len > 0 && it->glyph_row) | 1955 | if (it->glyph_row) |
| 1956 | append_glyphless_glyph (it, face_id, str); | 1956 | append_glyphless_glyph (it, face_id, str); |
| 1957 | } | 1957 | } |
| 1958 | 1958 | ||