diff --git a/redo/ui_windows.h b/redo/ui_windows.h index 4d69b2d0..91ae9212 100644 --- a/redo/ui_windows.h +++ b/redo/ui_windows.h @@ -12,9 +12,9 @@ _UI_EXTERN HWND uiWindowsUtilCreateControlHWND(DWORD dwExStyle, LPCWSTR lpClassN _UI_EXTERN void uiWindowsUtilDestroy(HWND hwnd); _UI_EXTERN void uiWindowsUtilSetParent(HWND hwnd, uiControl *parent); _UI_EXTERN void uiWindowsUtilResize(HWND hwnd, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d); -_UI_EXTERN void uiWIndowsUtilShow(HWND hwnd); +_UI_EXTERN void uiWindowsUtilShow(HWND hwnd); _UI_EXTERN void uiWindowsUtilHide(HWND hwnd); -_UI_EXTERN void uiWIndowsUtilEnable(HWND hwnd); +_UI_EXTERN void uiWindowsUtilEnable(HWND hwnd); _UI_EXTERN void uiWindowsUtilDisable(HWND hwnd); _UI_EXTERN uintptr_t uiWindowsUtilStartZOrder(HWND hwnd); _UI_EXTERN uintptr_t uiWindowsUtilSetZOrder(HWND hwnd, uintptr_t insertAfter); diff --git a/redo/windows/spinbox.c b/redo/windows/spinbox.c index c9ee478c..70ee5d45 100644 --- a/redo/windows/spinbox.c +++ b/redo/windows/spinbox.c @@ -116,7 +116,7 @@ static void recreateUpDown(struct spinbox *s) SendMessageW(s->updown, UDM_SETPOS32, 0, (LPARAM) current); } if (uiControlContainerVisible(uiControl(s))) - uiWIndowsUtilShow(s->updown); + uiWindowsUtilShow(s->updown); s->inhibitChanged = FALSE; } @@ -135,10 +135,10 @@ static void spinboxResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width, f(s->hwnd); \ f(s->updown); \ } -COMMIT(Show, uiWIndowsUtilShow) -COMMIT(Hide, uiWIndowsUtilHide) -COMMIT(Enable, uiWIndowsUtilEnable) -COMMIT(Disable, uiWIndowsUtilDisable) +COMMIT(Show, uiWindowsUtilShow) +COMMIT(Hide, uiWindowsUtilHide) +COMMIT(Enable, uiWindowsUtilEnable) +COMMIT(Disable, uiWindowsUtilDisable) // TODO does it go here relative of other things? static void defaultOnChanged(uiSpinbox *s, void *data)