Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
267e660b
Commit
267e660b
authored
Nov 21, 2006
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Pass number of wide chars, not bytes as last argument to MBtoWC().
parent
06dd3efe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
systray.c
dlls/shell32/systray.c
+3
-3
No files found.
dlls/shell32/systray.c
View file @
267e660b
...
...
@@ -54,18 +54,18 @@ BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA pnid)
nidW
.
hIcon
=
pnid
->
hIcon
;
/* szTip */
MultiByteToWideChar
(
CP_ACP
,
0
,
pnid
->
szTip
,
sizeof
(
pnid
->
szTip
),
nidW
.
szTip
,
sizeof
(
nidW
.
szTip
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pnid
->
szTip
,
-
1
,
nidW
.
szTip
,
sizeof
(
nidW
.
szTip
)
/
sizeof
(
WCHAR
));
nidW
.
dwState
=
pnid
->
dwState
;
nidW
.
dwStateMask
=
pnid
->
dwStateMask
;
/* szInfo */
MultiByteToWideChar
(
CP_ACP
,
0
,
pnid
->
szInfo
,
sizeof
(
pnid
->
szInfo
),
nidW
.
szInfo
,
sizeof
(
nidW
.
szInfo
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pnid
->
szInfo
,
-
1
,
nidW
.
szInfo
,
sizeof
(
nidW
.
szInfo
)
/
sizeof
(
WCHAR
));
nidW
.
u
.
uTimeout
=
pnid
->
u
.
uTimeout
;
/* szInfoTitle */
MultiByteToWideChar
(
CP_ACP
,
0
,
pnid
->
szInfoTitle
,
sizeof
(
pnid
->
szInfoTitle
),
nidW
.
szInfoTitle
,
sizeof
(
nidW
.
szInfoTitle
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pnid
->
szInfoTitle
,
-
1
,
nidW
.
szInfoTitle
,
sizeof
(
nidW
.
szInfoTitle
)
/
sizeof
(
WCHAR
));
nidW
.
dwInfoFlags
=
pnid
->
dwInfoFlags
;
...
...
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