/[emacs]/emacs/src/w32term.c
ViewVC logotype

Diff of /emacs/src/w32term.c

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

revision 1.135 by jasonr, Sun Jan 13 12:16:05 2002 UTC revision 1.136 by kfstorm, Wed Jan 16 23:04:03 2002 UTC
# Line 9462  x_erase_phys_cursor (w) Line 9462  x_erase_phys_cursor (w)
9462    if (!cursor_row->enabled_p)    if (!cursor_row->enabled_p)
9463      goto mark_cursor_off;      goto mark_cursor_off;
9464        
9465      /* If row is completely invisible, don't attempt to delete a cursor which
9466         isn't there.  This may happen if cursor is at top of window, and
9467         we switch to a buffer with a header line in that window.  */
9468      if (cursor_row->visible_height <= 0)
9469        goto mark_cursor_off;
9470      
9471    /* 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.
9472       In this case, either x_draw_glyphs or clear_end_of_line       In this case, either x_draw_glyphs or clear_end_of_line
9473       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.135  
changed lines
  Added in v.1.136

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