aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/libui/common')
-rw-r--r--src/libui_sdl/libui/common/control.c3
1 files changed, 1 insertions, 2 deletions
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