deleting a subwin in waterfall
This commit is contained in:
parent
5e0d33cfe1
commit
bc7e6379e6
@ -100,12 +100,18 @@ return -1;
|
||||
/* ---------------------------------------------------------------- */
|
||||
int close_waterfall(WINDOW *wf, int notused)
|
||||
{
|
||||
int foo;
|
||||
|
||||
if (NULL == wf) {
|
||||
fprintf(stderr, "%s wf is null\n", __func__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
foo = delwin(wf);
|
||||
if (ERR==foo) {
|
||||
fprintf(stderr, "%s : err on delwin\n", __func__);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user