0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0021

This commit is contained in:
Bram Moolenaar
2004-12-09 21:34:53 +00:00
parent 741b07e009
commit 293ee4d421
109 changed files with 3216 additions and 1368 deletions

View File

@@ -505,14 +505,14 @@ mch_restore_cursor_shape(int restore)
if (restore)
{
if (saved)
regs.h.ah = 0x01; /*Set Cursor*/
regs.h.ah = 0x01; /* Set Cursor */
else
return;
}
else
{
regs.h.ah = 0x03; /*Get Cursor*/
regs.h.bh = 0x00; /*Page */
regs.h.ah = 0x03; /* Get Cursor */
regs.h.bh = 0x00; /* Page */
saved = TRUE;
}
@@ -528,9 +528,9 @@ mch_set_cursor_shape(int thickness)
{
union REGS regs;
regs.h.ch = 7 - thickness; /*Starting Line*/
regs.h.cl = 7; /*Ending Line*/
regs.h.ah = 0x01; /*Set Cursor*/
regs.h.ch = 7 - thickness; /* Starting Line */
regs.h.cl = 7; /* Ending Line */
regs.h.ah = 0x01; /* Set Cursor */
(void)int86(0x10, &regs, &regs);
}