Skip to content

Commit

Permalink
Revert wrong 73dbd89
Browse files Browse the repository at this point in the history
  • Loading branch information
colinleroy committed Jan 6, 2024
1 parent 2e11c6b commit fcd6917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/dgets.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static char __fastcall__ rewrite_end_of_buffer(char full) {
if (c == '\n' || k == max_insert - 1) {
clrzone(x, y, win_width_min1, y);
}
if (x == win_width || (c == '\n' && k == max_insert - 1)) {
if (x == win_width || k == max_insert - 1) {
if (y_plus1 < win_height) {
clrzone(0, y_plus1, win_width_min1, y_plus1);
gotoxy(x, y);
Expand Down

0 comments on commit fcd6917

Please sign in to comment.