emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r116980: Fix bug #17288 with inserting left trunc


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r116980: Fix bug #17288 with inserting left truncation glyph under linum-mode.
Date: Fri, 18 Apr 2014 08:35:48 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116980
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17288
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Fri 2014-04-18 11:35:09 +0300
message:
  Fix bug #17288 with inserting left truncation glyph under linum-mode.
  
   src/xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation
   glyph is written to TEXT_AREA of the temporary glyph_row.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/xdisp.c                    xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-04-18 07:52:18 +0000
+++ b/src/ChangeLog     2014-04-18 08:35:09 +0000
@@ -1,3 +1,9 @@
+2014-04-18  Eli Zaretskii  <address@hidden>
+
+       * 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  <address@hidden>
 
        * emacs.c (close_output_streams): Don't clear and restore errno.

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2014-04-17 08:58:59 +0000
+++ b/src/xdisp.c       2014-04-18 08:35:09 +0000
@@ -18688,6 +18688,7 @@
   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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]