/[emacs]/emacs/mac/src/macterm.c
ViewVC logotype

Diff of /emacs/mac/src/macterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by pj, Sat Jan 12 15:17:59 2002 UTC revision 1.19 by kfstorm, Mon Jan 28 22:55:59 2002 UTC
# Line 8458  x_erase_phys_cursor (w) Line 8458  x_erase_phys_cursor (w)
8458    if (!cursor_row->enabled_p)    if (!cursor_row->enabled_p)
8459      goto mark_cursor_off;      goto mark_cursor_off;
8460        
8461      /* If row is completely invisible, don't attempt to delete a cursor which
8462         isn't there.  This can happen if cursor is at top of a window, and
8463         we switch to a buffer with a header line in that window.  */
8464      if (cursor_row->visible_height <= 0)
8465        goto mark_cursor_off;
8466      
8467    /* This can happen when the new row is shorter than the old one.    /* This can happen when the new row is shorter than the old one.
8468       In this case, either x_draw_glyphs or clear_end_of_line       In this case, either x_draw_glyphs or clear_end_of_line
8469       should have cleared the cursor.  Note that we wouldn't be       should have cleared the cursor.  Note that we wouldn't be

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26