diff options
author | James Booth <boothj5@gmail.com> | 2012-02-10 00:03:49 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-02-10 00:03:49 +0000 |
commit | 2137ffa25a21b5de85c40578940f76b7dbd6307f (patch) | |
tree | 7785dafd10e83efc57ba0deabc51a2f53c0d849e /title_bar.c | |
parent | a7df149ee901310ad8ac89fa2ddbd52f9c8d9e70 (diff) | |
download | profani-tty-2137ffa25a21b5de85c40578940f76b7dbd6307f.tar.gz |
Fixed wrong message in title bar for cons window
Diffstat (limited to 'title_bar.c')
-rw-r--r-- | title_bar.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/title_bar.c b/title_bar.c index 5cd18672..130afa74 100644 --- a/title_bar.c +++ b/title_bar.c @@ -12,14 +12,13 @@ void create_title_bar(void) title_bar = newwin(1, cols, 0, 0); wbkgd(title_bar, COLOR_PAIR(3)); - mvwprintw(title_bar, 0, 0, title); - wrefresh(title_bar); + title_bar_show(title); } void title_bar_show(char *title) { wclear(title_bar); - mvwprintw(title_bar, 0, 0, title); + mvwprintw(title_bar, 0, 0, " %s", title); wrefresh(title_bar); } |