window.c: Simplify window_create()
This commit is contained in:
parent
b886212545
commit
4162483d74
@ -4237,13 +4237,7 @@ window_create_internal(struct display *display,
|
|||||||
struct window *
|
struct window *
|
||||||
window_create(struct display *display)
|
window_create(struct display *display)
|
||||||
{
|
{
|
||||||
struct window *window;
|
return window_create_internal(display, NULL, TYPE_NONE);
|
||||||
|
|
||||||
window = window_create_internal(display, NULL, TYPE_NONE);
|
|
||||||
if (!window)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
return window;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct window *
|
struct window *
|
||||||
|
Loading…
Reference in New Issue
Block a user