diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-06 21:13:09 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-06 21:13:09 +0100 |
commit | 3645c236e9720deb696e7aebc33cd9a6d8cbbdc6 (patch) | |
tree | 4d5f0add375be9eb1b913e5d437b811db8921aad /ui.c | |
parent | 89de95a89953c20349a8c7c4684eba45feb34bf5 (diff) | |
download | wavemon-3645c236e9720deb696e7aebc33cd9a6d8cbbdc6.tar.gz |
Imported Upstream version 0.7.5upstream/0.7.5
Diffstat (limited to '')
-rw-r--r-- | ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -70,11 +70,11 @@ void waddstr_center(WINDOW *win, int y, const char *s) mvwaddstr(win, y, (WAV_WIDTH - strlen(s)) / 2, s); } -void waddstr_b(WINDOW *win, const char *s) +void wadd_attr_str(WINDOW *win, const int attrs, const char *s) { - wattron(win, A_BOLD); + wattron(win, attrs); waddstr(win, s); - wattroff(win, A_BOLD); + wattroff(win, attrs); } /* Enforce that @str is at most @len characters (excluding the terminal '\0') */ |