emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r103336: xdisp.c (display_line): Fix


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103336: xdisp.c (display_line): Fix the change made for bug#7939.
Date: Fri, 18 Feb 2011 17:11:10 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103336
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2011-02-18 17:11:10 +0200
message:
   xdisp.c (display_line): Fix the change made for bug#7939.
modified:
  src/ChangeLog
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-02-18 14:48:28 +0000
+++ b/src/ChangeLog     2011-02-18 15:11:10 +0000
@@ -1,5 +1,7 @@
 2011-02-18  Eli Zaretskii  <address@hidden>
 
+       * xdisp.c (display_line): Fix the change made for bug#7939.
+
        * terminal.c (create_terminal): Use default-keyboard-coding-system
        and default-terminal-coding-system to initialize coding systems of
        the new terminal.  (Bug#7840)

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2011-02-16 18:39:46 +0000
+++ b/src/xdisp.c       2011-02-18 15:11:10 +0000
@@ -17294,7 +17294,7 @@
      if the first glyph is partially visible or if we hit a line end.  */
   if (it->current_x < it->first_visible_x)
     {
-      SET_TEXT_POS (this_line_min_pos, ZV + 1, ZV_BYTE + 1);
+      this_line_min_pos = row->start.pos;
       move_it_in_display_line_to (it, ZV, it->first_visible_x,
                                  MOVE_TO_POS | MOVE_TO_X);
       /* Record the smallest positions seen while we moved over


reply via email to

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