Commit 842c2124 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Corrected default values with help from Ulrich Czekalla.

parent 39b3195c
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
* Copyright 1997 Dimitrie O. Paun * Copyright 1997 Dimitrie O. Paun
* *
* TODO: * TODO:
* - I am not sure about the default values for the Min, Max, Pos
* (in the UPDOWN_INFO the fields: MinVal, MaxVal, CurVal)
* - I think I do not handle correctly the WS_BORDER style. * - I think I do not handle correctly the WS_BORDER style.
* (Should be fixed. <ekohl@abo.rhein-zeitung.de>) * (Should be fixed. <ekohl@abo.rhein-zeitung.de>)
* *
...@@ -722,7 +720,7 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam, ...@@ -722,7 +720,7 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam,
/* initialize the info struct */ /* initialize the info struct */
infoPtr->AccelCount=0; infoPtr->AccelVect=0; infoPtr->AccelCount=0; infoPtr->AccelVect=0;
infoPtr->CurVal=0; infoPtr->MinVal=0; infoPtr->MaxVal=100; /*FIXME*/ infoPtr->CurVal=0; infoPtr->MinVal=0; infoPtr->MaxVal=9999;
infoPtr->Base = 10; /* Default to base 10 */ infoPtr->Base = 10; /* Default to base 10 */
infoPtr->Buddy = 0; /* No buddy window yet */ infoPtr->Buddy = 0; /* No buddy window yet */
infoPtr->Flags = 0; /* And no flags */ infoPtr->Flags = 0; /* And no flags */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment