diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-26 23:29:34 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-26 23:29:34 +0000 |
commit | 091292e079139480315f5cebed6be603e6505618 (patch) | |
tree | 2d2b73a02850be6bf3903657e483fee0c2c4f8f1 /src/fe-text/statusbar.c | |
parent | 9bf99c0aa603da62bce949ddc9cbca2cbd392dee (diff) | |
download | irssi-091292e079139480315f5cebed6be603e6505618.zip |
Mainwindows use now real curses WINDOWs, this should fix irssi with some
curseses that didn't like setscrreg() (solaris 8).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@542 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/statusbar.c')
-rw-r--r-- | src/fe-text/statusbar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c index 3fc71833..75119163 100644 --- a/src/fe-text/statusbar.c +++ b/src/fe-text/statusbar.c @@ -119,9 +119,9 @@ void statusbar_redraw(STATUSBAR_REC *bar) return; } - set_bg(settings_get_int("statusbar_background") << 4); + set_bg(stdscr, settings_get_int("statusbar_background") << 4); move(bar->ypos, 0); clrtoeol(); - set_bg(0); + set_bg(stdscr, 0); statusbar_redraw_line(bar); } @@ -160,9 +160,9 @@ STATUSBAR_REC *statusbar_create(int pos, int ypos) rec->line -= sbar_lowest; } - set_bg(settings_get_int("statusbar_background") << 4); + set_bg(stdscr, settings_get_int("statusbar_background") << 4); move(rec->ypos, 0); clrtoeol(); - set_bg(0); + set_bg(stdscr, 0); return rec; } |