diff --git a/redo/windows/spinbox.c b/redo/windows/spinbox.c index d9756349..791adaeb 100644 --- a/redo/windows/spinbox.c +++ b/redo/windows/spinbox.c @@ -20,6 +20,7 @@ static BOOL onWM_COMMAND(uiControl *c, WORD code, LRESULT *lResult) // We don't need to worry about checking for an error; that flag should really be called "did we have to cap?". // We DO need to set the value in case of a cap though. // TODO if we have change events, we need to make sure doing this doesn't trigger a double event + // TODO wine only? val = SendMessageW(s->updown, UDM_GETPOS32, 0, (LPARAM) (&neededCap)); if (neededCap) SendMessageW(s->updown, UDM_SETPOS32, 0, (LPARAM) val);