summaryrefslogtreecommitdiff
path: root/src/fe-text/statusbar-items.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-01 21:49:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-01 21:49:07 +0000
commit05777636a78af7214b33027cdfa6f08b045e6fe7 (patch)
tree447188485ac78470d0270639a10a155fc5e4af94 /src/fe-text/statusbar-items.c
parent6f5c1117debce23e12fdba370f0356bebf61d355 (diff)
downloadirssi-05777636a78af7214b33027cdfa6f08b045e6fe7.zip
Replaced all direct curses calls with screen_xx() wrappers. This should
enable us to optionally use termcap directly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/statusbar-items.c')
-rw-r--r--src/fe-text/statusbar-items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c
index 137e7417..c3b69725 100644
--- a/src/fe-text/statusbar-items.c
+++ b/src/fe-text/statusbar-items.c
@@ -632,7 +632,7 @@ static void sig_main_statusbar_changed(WINDOW_REC *window)
static void read_settings(void)
{
- use_colors = settings_get_bool("colors") && has_colors();
+ use_colors = settings_get_bool("colors") && screen_has_colors();
if (settings_get_bool("topicbar"))
topicbar_create();
else