Skip to content

Commit

Permalink
Pass the starting row correctly when clearing
Browse files Browse the repository at this point in the history
This bug goes all the way back to NetHack 3.1.2. And yet no one has
reported it until now. Thanks to Reddit user BootlegMickeyMouse.
  • Loading branch information
chasonr committed Mar 4, 2016
1 parent 5932985 commit 6ace581
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/msdos/vidtxt.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ void txt_cl_eos() /* clear to end of screen */
regs.h.cl = 0; /* X of upper left */
/* Y (row) of upper left */
regs.h.ch = (char) (row < (LI - 1) ? row + 1 : (LI - 1));
regs.x.cx = 0;
regs.x.ax = 0;
regs.x.bx = 0;
regs.h.bh = (char) attrib_text_normal;
Expand Down

0 comments on commit 6ace581

Please sign in to comment.