Nikolay Sivov : comctl32/monthcal: Name MCM_SETMAXSELCOUNT parameter.

Alexandre Julliard julliard at winehq.org
Fri Sep 25 10:24:45 CDT 2009


Module: wine
Branch: master
Commit: 534ea8ab42b8156b4536f43f0d38950ddac0f4c1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=534ea8ab42b8156b4536f43f0d38950ddac0f4c1

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Fri Sep 25 03:16:51 2009 +0400

comctl32/monthcal: Name MCM_SETMAXSELCOUNT parameter.

---

 dlls/comctl32/monthcal.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 4aa8d71..aa4b35c 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -104,7 +104,7 @@ typedef struct
     int		status;		/* See MC_SEL flags */
     int		curSelDay;	/* current selected day */
     int		firstSelDay;	/* first selected day */
-    int		maxSelCount;
+    INT		maxSelCount;
     SYSTEMTIME	minSel;
     SYSTEMTIME	maxSel;
     DWORD	rangeValid;
@@ -1026,12 +1026,12 @@ MONTHCAL_GetMaxSelCount(const MONTHCAL_INFO *infoPtr)
 
 
 static LRESULT
-MONTHCAL_SetMaxSelCount(MONTHCAL_INFO *infoPtr, WPARAM wParam)
+MONTHCAL_SetMaxSelCount(MONTHCAL_INFO *infoPtr, INT max)
 {
-  TRACE("%lx\n", wParam);
+  TRACE("%d\n", max);
 
   if(infoPtr->dwStyle & MCS_MULTISELECT)  {
-    infoPtr->maxSelCount = wParam;
+    infoPtr->maxSelCount = max;
   }
 
   return TRUE;




More information about the wine-cvs mailing list