Changeset 3028

Show
Ignore:
Timestamp:
2003年03月02日 16時21分05秒 (6 years ago)
Author:
miyoshi
Message:

(window_scroll_pixel_based): Break while loop, if
move_it_by_lines() cannot move the cursor. Sync up with
Emacs-21.3.50.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • work/cvs2svn/src/ChangeLog.Meadow

    r3023 r3028  
     12003-03-02  MIYOSHI Masanori  <miyoshi@boreas.dti.ne.jp> 
     2 
     3        * window.c (window_scroll_pixel_based): Break while loop, if 
     4        move_it_by_lines() cannot move the cursor.  Sync up with 
     5        Emacs-21.3.50. 
     6 
    172003-03-01  MIYOSHI Masanori  <miyoshi@boreas.dti.ne.jp> 
    28 
  • work/cvs2svn/src/window.c

    r2677 r3028  
    41414141          move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); 
    41424142          while (it.current_y < this_scroll_margin) 
    4143             move_it_by_lines (&it, 1, 1); 
     4143            { 
     4144              int prev = it.current_y; 
     4145              move_it_by_lines (&it, 1, 1); 
     4146              if (prev == it.current_y) 
     4147                break; 
     4148            } 
    41444149          SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); 
    41454150        }