diff options
Diffstat (limited to 'textscreen/txt_widget.c')
-rw-r--r-- | textscreen/txt_widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textscreen/txt_widget.c b/textscreen/txt_widget.c index de79beb7..c10699b5 100644 --- a/textscreen/txt_widget.c +++ b/textscreen/txt_widget.c @@ -2,9 +2,9 @@ #include "txt_widget.h" -int TXT_WidgetWidth(txt_widget_t *widget) +void TXT_CalcWidgetSize(txt_widget_t *widget, int *w, int *h) { - return widget->widget_class->size_calc(widget); + return widget->widget_class->size_calc(widget, w, h); } void TXT_DrawWidget(txt_widget_t *widget, int w, int selected) |