From 18a58e56fa2b0e7651b1ceb738fd14ffa5719f33 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 9 Apr 2015 18:45:58 -0400 Subject: DlgUnit -> DlgUnits --- new/entry_windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'new/entry_windows.c') diff --git a/new/entry_windows.c b/new/entry_windows.c index 23796d9..f8521b4 100644 --- a/new/entry_windows.c +++ b/new/entry_windows.c @@ -27,8 +27,8 @@ static void onWM_DESTROY(uiControl *c) static void preferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height) { - *width = uiDlgUnitToX(entryWidth, d->sys->baseX); - *height = uiDlgUnitToY(entryHeight, d->sys->baseY); + *width = uiDlgUnitsToX(entryWidth, d->sys->baseX); + *height = uiDlgUnitsToY(entryHeight, d->sys->baseY); } uiControl *uiNewEntry(void) -- cgit v1.2.3