OO style for ProfWin type

This commit is contained in:
James Booth
2013-10-06 02:02:05 +01:00
parent 33fc43d5e2
commit 6441e06279
5 changed files with 175 additions and 162 deletions

View File

@@ -350,7 +350,7 @@ wins_lost_connection(void)
while (curr != NULL) {
ProfWin *window = curr->data;
if (window->type != WIN_CONSOLE) {
win_print_time(window, '-');
window->print_time(window, '-');
wattron(window->win, COLOUR_ERROR);
wprintw(window->win, "%s\n", "Lost connection.");
wattroff(window->win, COLOUR_ERROR);