summaryrefslogtreecommitdiff
path: root/new/entry_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 18:45:58 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 18:45:58 -0400
commit18a58e56fa2b0e7651b1ceb738fd14ffa5719f33 (patch)
tree84bf730b3fc8a4702f2b86d9b5111b3314b314db /new/entry_windows.c
parente75235603735084300b8820a9e40f83fad3421e9 (diff)
DlgUnit -> DlgUnits
Diffstat (limited to 'new/entry_windows.c')
-rw-r--r--new/entry_windows.c4
1 files changed, 2 insertions, 2 deletions
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)