mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
parent
b9c384d6ca
commit
b1d71236fe
@ -742,12 +742,11 @@ win_refresh_with_subwin(ProfWin *window)
|
|||||||
int cols = getmaxx(stdscr);
|
int cols = getmaxx(stdscr);
|
||||||
int row_start = screen_mainwin_row_start();
|
int row_start = screen_mainwin_row_start();
|
||||||
int row_end = screen_mainwin_row_end();
|
int row_end = screen_mainwin_row_end();
|
||||||
|
ProfLayoutSplit *layout = (ProfLayoutSplit*)window->layout;
|
||||||
|
|
||||||
if (window->type == WIN_MUC) {
|
if (window->type == WIN_MUC) {
|
||||||
ProfLayoutSplit *layout = (ProfLayoutSplit*)window->layout;
|
|
||||||
subwin_cols = win_occpuants_cols();
|
subwin_cols = win_occpuants_cols();
|
||||||
} else if (window->type == WIN_CONSOLE) {
|
} else if (window->type == WIN_CONSOLE) {
|
||||||
ProfLayoutSplit *layout = (ProfLayoutSplit*)window->layout;
|
|
||||||
subwin_cols = win_roster_cols();
|
subwin_cols = win_roster_cols();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user