Skip to content

Commit

Permalink
formatstring
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Apr 29, 2022
1 parent 5a4057f commit d259fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console_ncurses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void console_ncurses::refresh_virtual_terminal()
wclear(w_main->win);

for(int row=0; row<t_height; row++)
mvwprintw(w_main->win, row + 1, 0, std::string(screen_buffer[row], t_width).c_str());
mvwprintw(w_main->win, row + 1, 0, "%s", std::string(screen_buffer[row], t_width).c_str());

mydoupdate();
}

0 comments on commit d259fa7

Please sign in to comment.