diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 18:45:58 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 18:45:58 -0400 |
| commit | 18a58e56fa2b0e7651b1ceb738fd14ffa5719f33 (patch) | |
| tree | 84bf730b3fc8a4702f2b86d9b5111b3314b314db /new/button_windows.c | |
| parent | e75235603735084300b8820a9e40f83fad3421e9 (diff) | |
DlgUnit -> DlgUnits
Diffstat (limited to 'new/button_windows.c')
| -rw-r--r-- | new/button_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/button_windows.c b/new/button_windows.c index 099fa6b..c331e89 100644 --- a/new/button_windows.c +++ b/new/button_windows.c @@ -52,7 +52,7 @@ static void preferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t * // Microsoft says to use a fixed width for all buttons; this isn't good enough // use the text width instead, with some edge padding *width = uiWindowsWindowTextWidth(hwnd) + (2 * GetSystemMetrics(SM_CXEDGE)); - *height = uiDlgUnitToY(buttonHeight, d->sys->baseY); + *height = uiDlgUnitsToY(buttonHeight, d->sys->baseY); } static void defaultOnClicked(uiControl *c, void *data) |
