Added rosterwin.c

This commit is contained in:
James Booth
2014-12-16 22:14:15 +00:00
parent 0ac789e48c
commit 0e7e931589
6 changed files with 135 additions and 51 deletions

View File

@@ -108,6 +108,7 @@ _win_create_split_layout(void)
scrollok(layout->super.win, TRUE);
layout->subwin = NULL;
layout->sub_y_pos = 0;
layout->memcheck = LAYOUT_SPLIT_MEMCHECK;
return &layout->super;
}
@@ -164,6 +165,7 @@ win_create_muc(const char * const roomjid)
layout->subwin = NULL;
}
layout->sub_y_pos = 0;
layout->memcheck = LAYOUT_SPLIT_MEMCHECK;
layout->super.buffer = buffer_create();
layout->super.y_pos = 0;
layout->super.paged = 0;