Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b7cc9c66
Commit
b7cc9c66
authored
Jul 07, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove unneeded address-of operators from array names.
parent
22f2558e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
imagelist.c
dlls/comctl32/imagelist.c
+2
-2
monthcal.c
dlls/comctl32/monthcal.c
+4
-4
tooltips.c
dlls/comctl32/tooltips.c
+2
-2
No files found.
dlls/comctl32/imagelist.c
View file @
b7cc9c66
...
...
@@ -658,11 +658,11 @@ ImageList_Create (INT cx, INT cy, UINT flags,
himl
->
hbmMask
=
0
;
/* create blending brushes */
hbmTemp
=
CreateBitmap
(
8
,
8
,
1
,
1
,
&
aBitBlend25
);
hbmTemp
=
CreateBitmap
(
8
,
8
,
1
,
1
,
aBitBlend25
);
himl
->
hbrBlend25
=
CreatePatternBrush
(
hbmTemp
);
DeleteObject
(
hbmTemp
);
hbmTemp
=
CreateBitmap
(
8
,
8
,
1
,
1
,
&
aBitBlend50
);
hbmTemp
=
CreateBitmap
(
8
,
8
,
1
,
1
,
aBitBlend50
);
himl
->
hbrBlend50
=
CreatePatternBrush
(
hbmTemp
);
DeleteObject
(
hbmTemp
);
...
...
dlls/comctl32/monthcal.c
View file @
b7cc9c66
...
...
@@ -1498,8 +1498,8 @@ MONTHCAL_LButtonDown(MONTHCAL_INFO *infoPtr, LPARAM lParam)
MONTHCAL_CopyTime
(
&
ht
.
st
,
&
selArray
[
0
]);
MONTHCAL_CopyTime
(
&
ht
.
st
,
&
selArray
[
1
]);
MONTHCAL_SetSelRange
(
infoPtr
,
(
LPARAM
)
&
selArray
);
MONTHCAL_SetCurSel
(
infoPtr
,
(
LPARAM
)
&
selArray
);
MONTHCAL_SetSelRange
(
infoPtr
,
(
LPARAM
)
selArray
);
MONTHCAL_SetCurSel
(
infoPtr
,
(
LPARAM
)
selArray
);
TRACE
(
"MCHT_CALENDARDATE
\n
"
);
nmsc
.
nmhdr
.
hwndFrom
=
infoPtr
->
hwndSelf
;
nmsc
.
nmhdr
.
idFrom
=
GetWindowLongPtrW
(
infoPtr
->
hwndSelf
,
GWLP_ID
);
...
...
@@ -1647,7 +1647,7 @@ MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
SYSTEMTIME
selArray
[
2
];
int
i
;
MONTHCAL_GetSelRange
(
infoPtr
,
(
LPARAM
)
&
selArray
);
MONTHCAL_GetSelRange
(
infoPtr
,
(
LPARAM
)
selArray
);
i
=
0
;
if
(
infoPtr
->
firstSelDay
==
selArray
[
0
].
wDay
)
i
=
1
;
TRACE
(
"oldRange:%d %d %d %d
\n
"
,
infoPtr
->
firstSelDay
,
selArray
[
0
].
wDay
,
selArray
[
1
].
wDay
,
i
);
...
...
@@ -1677,7 +1677,7 @@ MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
selArray
[
0
].
wDay
=
tempday
;
}
MONTHCAL_SetSelRange
(
infoPtr
,
(
LPARAM
)
&
selArray
);
MONTHCAL_SetSelRange
(
infoPtr
,
(
LPARAM
)
selArray
);
}
}
...
...
dlls/comctl32/tooltips.c
View file @
b7cc9c66
...
...
@@ -368,7 +368,7 @@ static void TOOLTIPS_GetDispInfoA(HWND hwnd, TOOLTIPS_INFO *infoPtr, TTTOOL_INFO
ttnmdi
.
hdr
.
hwndFrom
=
hwnd
;
ttnmdi
.
hdr
.
idFrom
=
toolPtr
->
uId
;
ttnmdi
.
hdr
.
code
=
TTN_GETDISPINFOA
;
/* == TTN_NEEDTEXTA */
ttnmdi
.
lpszText
=
(
LPSTR
)
&
ttnmdi
.
szText
;
ttnmdi
.
lpszText
=
(
LPSTR
)
ttnmdi
.
szText
;
ttnmdi
.
uFlags
=
toolPtr
->
uFlags
;
ttnmdi
.
lParam
=
toolPtr
->
lParam
;
...
...
@@ -424,7 +424,7 @@ static void TOOLTIPS_GetDispInfoW(HWND hwnd, TOOLTIPS_INFO *infoPtr, TTTOOL_INFO
ttnmdi
.
hdr
.
hwndFrom
=
hwnd
;
ttnmdi
.
hdr
.
idFrom
=
toolPtr
->
uId
;
ttnmdi
.
hdr
.
code
=
TTN_GETDISPINFOW
;
/* == TTN_NEEDTEXTW */
ttnmdi
.
lpszText
=
(
LPWSTR
)
&
ttnmdi
.
szText
;
ttnmdi
.
lpszText
=
(
LPWSTR
)
ttnmdi
.
szText
;
ttnmdi
.
uFlags
=
toolPtr
->
uFlags
;
ttnmdi
.
lParam
=
toolPtr
->
lParam
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment