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
3cad4a1d
Commit
3cad4a1d
authored
Mar 26, 2010
by
Mikhail Maroukhine
Committed by
Alexandre Julliard
Mar 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix incorrect const type casting.
parent
f2a331cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
status.c
dlls/comctl32/status.c
+4
-4
No files found.
dlls/comctl32/status.c
View file @
3cad4a1d
...
...
@@ -728,7 +728,7 @@ STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts)
static
BOOL
STATUSBAR_SetTextT
(
STATUS_INFO
*
infoPtr
,
INT
nPart
,
WORD
style
,
LP
C
WSTR
text
,
BOOL
isW
)
LPWSTR
text
,
BOOL
isW
)
{
STATUSWINDOWPART
*
part
=
NULL
;
BOOL
changed
=
FALSE
;
...
...
@@ -759,7 +759,7 @@ STATUSBAR_SetTextT (STATUS_INFO *infoPtr, INT nPart, WORD style,
if
(
style
&
SBT_OWNERDRAW
)
{
if
(
!
(
oldStyle
&
SBT_OWNERDRAW
))
Free
(
part
->
text
);
part
->
text
=
(
LPWSTR
)
text
;
part
->
text
=
text
;
}
else
{
LPWSTR
ntext
;
WCHAR
*
idx
;
...
...
@@ -1248,10 +1248,10 @@ StatusWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
return
STATUSBAR_SetParts
(
infoPtr
,
(
INT
)
wParam
,
(
LPINT
)
lParam
);
case
SB_SETTEXTA
:
return
STATUSBAR_SetTextT
(
infoPtr
,
nPart
,
wParam
&
0xff00
,
(
LP
C
WSTR
)
lParam
,
FALSE
);
return
STATUSBAR_SetTextT
(
infoPtr
,
nPart
,
wParam
&
0xff00
,
(
LPWSTR
)
lParam
,
FALSE
);
case
SB_SETTEXTW
:
return
STATUSBAR_SetTextT
(
infoPtr
,
nPart
,
wParam
&
0xff00
,
(
LP
C
WSTR
)
lParam
,
TRUE
);
return
STATUSBAR_SetTextT
(
infoPtr
,
nPart
,
wParam
&
0xff00
,
(
LPWSTR
)
lParam
,
TRUE
);
case
SB_SETTIPTEXTA
:
return
STATUSBAR_SetTipTextA
(
infoPtr
,
(
INT
)
wParam
,
(
LPSTR
)
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