summaryrefslogtreecommitdiff
path: root/new/checkbox_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/checkbox_windows.c')
-rw-r--r--new/checkbox_windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/new/checkbox_windows.c b/new/checkbox_windows.c
index 00981de..55699a6 100644
--- a/new/checkbox_windows.c
+++ b/new/checkbox_windows.c
@@ -46,8 +46,8 @@ static void onWM_DESTROY(uiControl *c)
static void preferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height)
{
- *width = uiDlgUnitToX(checkboxXFromLeftOfBoxToLeftOfLabel, d->sys->baseX) + uiWindowsWindowTextWidth((HWND) uiControlHandle(c));
- *height = uiDlgUnitToY(checkboxHeight, d->sys->baseY);
+ *width = uiDlgUnitsToX(checkboxXFromLeftOfBoxToLeftOfLabel, d->sys->baseX) + uiWindowsWindowTextWidth((HWND) uiControlHandle(c));
+ *height = uiDlgUnitsToY(checkboxHeight, d->sys->baseY);
}
static void defaultOnToggled(uiControl *c, void *data)