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
32ea7ce1
Commit
32ea7ce1
authored
Jan 29, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Use IS_INTRESOURCE not HIWORD to check a resource.
parent
18b918d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
msgbox.c
dlls/shlwapi/msgbox.c
+3
-3
No files found.
dlls/shlwapi/msgbox.c
View file @
32ea7ce1
...
@@ -147,10 +147,10 @@ INT_PTR WINAPI SHMessageBoxCheckExA(HWND hWnd, HINSTANCE hInst, LPCSTR lpszName,
...
@@ -147,10 +147,10 @@ INT_PTR WINAPI SHMessageBoxCheckExA(HWND hWnd, HINSTANCE hInst, LPCSTR lpszName,
WCHAR
szNameBuff
[
MAX_PATH
],
szIdBuff
[
MAX_PATH
];
WCHAR
szNameBuff
[
MAX_PATH
],
szIdBuff
[
MAX_PATH
];
LPCWSTR
szName
=
szNameBuff
;
LPCWSTR
szName
=
szNameBuff
;
if
(
HIWORD
(
lpszName
))
if
(
IS_INTRESOURCE
(
lpszName
))
MultiByteToWideChar
(
CP_ACP
,
0
,
lpszName
,
-
1
,
szNameBuff
,
MAX_PATH
);
else
szName
=
(
LPCWSTR
)
lpszName
;
/* Resource Id or NULL */
szName
=
(
LPCWSTR
)
lpszName
;
/* Resource Id or NULL */
else
MultiByteToWideChar
(
CP_ACP
,
0
,
lpszName
,
-
1
,
szNameBuff
,
MAX_PATH
);
MultiByteToWideChar
(
CP_ACP
,
0
,
lpszId
,
-
1
,
szIdBuff
,
MAX_PATH
);
MultiByteToWideChar
(
CP_ACP
,
0
,
lpszId
,
-
1
,
szIdBuff
,
MAX_PATH
);
...
...
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