From 9d3f13b6891eafc4b12d62259ad0b6876952eccd Mon Sep 17 00:00:00 2001 From: StapleButter Date: Thu, 5 Oct 2017 00:13:22 +0200 Subject: rework things a bit. also remove some useless variables. --- src/libui_sdl/libui/common/control.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libui_sdl/libui/common') diff --git a/src/libui_sdl/libui/common/control.c b/src/libui_sdl/libui/common/control.c index f811728..78d1e5f 100644 --- a/src/libui_sdl/libui/common/control.c +++ b/src/libui_sdl/libui/common/control.c @@ -66,8 +66,7 @@ void uiControlSetMinSize(uiControl *c, int w, int h) { c->MinWidth = w; c->MinHeight = h; - - // TODO: resize if needed + (*(c->SetMinSize))(c, w, h); } #define uiControlSignature 0x7569436F -- cgit v1.2.3