Tidy rosterwin
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
@@ -344,4 +347,3 @@ rosterwin_roster(void)
|
|||||||
}
|
}
|
||||||
prefs_free_string(by);
|
prefs_free_string(by);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user