]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug #17288 with inserting left truncation glyph under linum-mode.
authorEli Zaretskii <eliz@gnu.org>
Fri, 18 Apr 2014 08:35:09 +0000 (11:35 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 18 Apr 2014 08:35:09 +0000 (11:35 +0300)
 src/xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation
 glyph is written to TEXT_AREA of the temporary glyph_row.

src/ChangeLog
src/xdisp.c

index e8f122d3c764cabafc18871ec025979a07351dd5..e7b8384b431c76128263c5c7b5e483df79051fb9 100644 (file)
@@ -1,3 +1,9 @@
+2014-04-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation
+       glyph is written to TEXT_AREA of the temporary glyph_row.
+       (Bug#17288)
+
 2014-04-18  Paul Eggert  <eggert@cs.ucla.edu>
 
        * emacs.c (close_output_streams): Don't clear and restore errno.
index ad5f6a6bf83c8c418f6e690b04de1c81b2bcd3b7..88d61a6bbc03af88242afdb8601b87c38db6beb1 100644 (file)
@@ -18688,6 +18688,7 @@ insert_left_trunc_glyphs (struct it *it)
   truncate_it.current_x = 0;
   truncate_it.face_id = DEFAULT_FACE_ID;
   truncate_it.glyph_row = &scratch_glyph_row;
+  truncate_it.area = TEXT_AREA;
   truncate_it.glyph_row->used[TEXT_AREA] = 0;
   CHARPOS (truncate_it.position) = BYTEPOS (truncate_it.position) = -1;
   truncate_it.object = make_number (0);