Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
schkwve committed Feb 27, 2024
1 parent e55ebbb commit 1001f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nighterm.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ nighterm_render_char(int row, int col, char c)
void
nighterm_write(char c)
{
switch (ch) {
switch (c) {
case '\n':
config.terminal[config.current_terminal].cur_x = 0;
config.terminal[config.current_terminal].cur_y++;
Expand Down Expand Up @@ -726,7 +726,7 @@ nighterm_write(char c)
}
nighterm_render_char(config.terminal[config.current_terminal].cur_y,
config.terminal[config.current_terminal].cur_x,
ch);
c);
config.terminal[config.current_terminal].cur_x++;
break;
}
Expand Down

0 comments on commit 1001f21

Please sign in to comment.