mirror of https://github.com/FreeRDP/FreeRDP
Fixed #8296: Assert floatbar->handle and not xfc->window
This commit is contained in:
parent
3cf0bb91d6
commit
bd4b261a88
|
@ -277,7 +277,7 @@ xfFloatbarButton* xf_floatbar_new_button(xfFloatbar* floatbar, int type)
|
|||
WINPR_ASSERT(floatbar);
|
||||
WINPR_ASSERT(floatbar->xfc);
|
||||
WINPR_ASSERT(floatbar->xfc->display);
|
||||
WINPR_ASSERT(floatbar->xfc->window);
|
||||
WINPR_ASSERT(floatbar->handle);
|
||||
|
||||
button = (xfFloatbarButton*)calloc(1, sizeof(xfFloatbarButton));
|
||||
button->type = type;
|
||||
|
|
Loading…
Reference in New Issue