diff options
| author | Joakim Verona | 2012-05-30 14:08:12 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-05-30 14:08:12 +0200 |
| commit | 70700d8c47a35b19e29607ac5f0ed322bdd78249 (patch) | |
| tree | 4fa00d3fac00025354f0b6e23dcda1b58689a094 /src/term.c | |
| parent | 44fce8ffe7198991c41c985ff4e67ec7d407907e (diff) | |
| parent | 72cb32cf2f0938dd7dc733eed77b1ed1e497b053 (diff) | |
| download | emacs-70700d8c47a35b19e29607ac5f0ed322bdd78249.tar.gz emacs-70700d8c47a35b19e29607ac5f0ed322bdd78249.zip | |
upstream
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/term.c b/src/term.c index ce300f9442a..3d7a677374c 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1915,8 +1915,7 @@ produce_special_glyphs (struct it *it, enum display_element_type what) | |||
| 1915 | else | 1915 | else |
| 1916 | SET_GLYPH_FROM_CHAR (glyph, '\\'); | 1916 | SET_GLYPH_FROM_CHAR (glyph, '\\'); |
| 1917 | if (it->dp | 1917 | if (it->dp |
| 1918 | && (gc = DISP_CONTINUE_GLYPH (it->dp), GLYPH_CODE_P (gc)) | 1918 | && (gc = DISP_CONTINUE_GLYPH (it->dp), GLYPH_CODE_P (gc))) |
| 1919 | && GLYPH_CODE_CHAR_VALID_P (gc)) | ||
| 1920 | { | 1919 | { |
| 1921 | /* FIXME: Should we mirror GC for R2L lines? */ | 1920 | /* FIXME: Should we mirror GC for R2L lines? */ |
| 1922 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); | 1921 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); |
| @@ -1928,8 +1927,7 @@ produce_special_glyphs (struct it *it, enum display_element_type what) | |||
| 1928 | /* Truncation glyph. */ | 1927 | /* Truncation glyph. */ |
| 1929 | SET_GLYPH_FROM_CHAR (glyph, '$'); | 1928 | SET_GLYPH_FROM_CHAR (glyph, '$'); |
| 1930 | if (it->dp | 1929 | if (it->dp |
| 1931 | && (gc = DISP_TRUNC_GLYPH (it->dp), GLYPH_CODE_P (gc)) | 1930 | && (gc = DISP_TRUNC_GLYPH (it->dp), GLYPH_CODE_P (gc))) |
| 1932 | && GLYPH_CODE_CHAR_VALID_P (gc)) | ||
| 1933 | { | 1931 | { |
| 1934 | /* FIXME: Should we mirror GC for R2L lines? */ | 1932 | /* FIXME: Should we mirror GC for R2L lines? */ |
| 1935 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); | 1933 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); |
| @@ -2279,7 +2277,7 @@ set_tty_color_mode (struct tty_display_info *tty, struct frame *f) | |||
| 2279 | else | 2277 | else |
| 2280 | color_mode = Qnil; | 2278 | color_mode = Qnil; |
| 2281 | 2279 | ||
| 2282 | mode = INTEGERP (color_mode) ? XINT (color_mode) : 0; | 2280 | mode = TYPE_RANGED_INTEGERP (int, color_mode) ? XINT (color_mode) : 0; |
| 2283 | 2281 | ||
| 2284 | if (mode != tty->previous_color_mode) | 2282 | if (mode != tty->previous_color_mode) |
| 2285 | { | 2283 | { |