mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Tidy rosterwin
This commit is contained in:
parent
b73ff08a72
commit
f54c2e8eca
@ -279,7 +279,10 @@ void
|
|||||||
rosterwin_roster(void)
|
rosterwin_roster(void)
|
||||||
{
|
{
|
||||||
ProfWin *console = wins_get_console();
|
ProfWin *console = wins_get_console();
|
||||||
if (console) {
|
if (!console) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ProfLayoutSplit *layout = (ProfLayoutSplit*)console->layout;
|
ProfLayoutSplit *layout = (ProfLayoutSplit*)console->layout;
|
||||||
assert(layout->memcheck == LAYOUT_SPLIT_MEMCHECK);
|
assert(layout->memcheck == LAYOUT_SPLIT_MEMCHECK);
|
||||||
|
|
||||||
@ -343,5 +346,4 @@ rosterwin_roster(void)
|
|||||||
g_slist_free(contacts);
|
g_slist_free(contacts);
|
||||||
}
|
}
|
||||||
prefs_free_string(by);
|
prefs_free_string(by);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user