aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-06 21:13:09 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-06 21:13:09 +0100
commitd0faeb165ac7cd3ce0d1f22f15b0e90072bed969 (patch)
treea723545835f20a19a9620407b10259c10e8d3246 /ui.c
parentc20edfe61df77fa1b31572b26473fd12029a35b7 (diff)
parent3645c236e9720deb696e7aebc33cd9a6d8cbbdc6 (diff)
downloadwavemon-d0faeb165ac7cd3ce0d1f22f15b0e90072bed969.tar.gz
Merge tag 'upstream/0.7.5'
Upstream version 0.7.5
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui.c b/ui.c
index 194f20d..14e47d1 100644
--- a/ui.c
+++ b/ui.c
@@ -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') */