Skip to content

Commit

Permalink
Fix a variable's name
Browse files Browse the repository at this point in the history
  • Loading branch information
leonmavr committed Feb 22, 2023
1 parent 9822b09 commit d789376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ static void clrscr() {
DWORD dw_con_size = csbi.dwSize.X * csbi.dwSize.Y;
FillConsoleOutputCharacter(g_cons_out, ' ', dw_con_size,
top_left, &c_chars_written);
FillConsoleOutputAttribute(g_consOut, csbi.wAttributes,
FillConsoleOutputAttribute(g_cons_out, csbi.wAttributes,
dw_con_size, top_left, &c_chars_written);
SetConsoleCursorPosition(g_consOut, top_left);
SetConsoleCursorPosition(g_cons_out, top_left);
}
#define SCREEN_CLEAR() clrscr()
#define SCREEN_GOTO_TOPLEFT() gotoxy(0, 0)
Expand Down

0 comments on commit d789376

Please sign in to comment.