From 842c21245f3bc7d969429c4a2c9a7cd63ffd2a2b Mon Sep 17 00:00:00 2001 From: "Dimitrie O. Paun" Date: Sun, 26 Nov 2000 22:35:01 +0000 Subject: [PATCH] Corrected default values with help from Ulrich Czekalla. --- dlls/comctl32/updown.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c index 8563d95f141..903344b0f3a 100644 --- a/dlls/comctl32/updown.c +++ b/dlls/comctl32/updown.c @@ -4,8 +4,6 @@ * Copyright 1997 Dimitrie O. Paun * * 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. * (Should be fixed. ) * @@ -42,7 +40,7 @@ DEFAULT_DEBUG_CHANNEL(updown); typedef struct { UINT AccelCount; /* Number of elements in AccelVect */ - UDACCEL* AccelVect; /* Vector containing AccelCount elements */ + UDACCEL* AccelVect; /* Vector containing AccelCount elements */ INT Base; /* Base to display nr in the buddy window */ INT CurVal; /* Current up-down value */ INT MinVal; /* Minimum up-down value */ @@ -722,7 +720,7 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam, /* initialize the info struct */ 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->Buddy = 0; /* No buddy window yet */ infoPtr->Flags = 0; /* And no flags */