mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
Fixed #8296: Assert floatbar->handle and not xfc->window
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user