From 3645c236e9720deb696e7aebc33cd9a6d8cbbdc6 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sun, 6 May 2012 21:13:09 +0100 Subject: Imported Upstream version 0.7.5 --- ui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui.c') 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') */ -- cgit v1.2.3