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
51d0345e
Commit
51d0345e
authored
Nov 27, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: RT_DIALOG is already an INTRESOURCE (PVS-Studio).
parent
232390e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
printdlg.c
dlls/comdlg32/printdlg.c
+3
-3
No files found.
dlls/comdlg32/printdlg.c
View file @
51d0345e
...
...
@@ -3817,16 +3817,16 @@ static void *pagesetup_get_template(pagesetup_data *data)
{
if
(
data
->
unicode
)
res
=
FindResourceW
(
data
->
u
.
dlgw
->
hInstance
,
data
->
u
.
dlgw
->
lpPageSetupTemplateName
,
MAKEINTRESOURCEW
(
RT_DIALOG
)
);
data
->
u
.
dlgw
->
lpPageSetupTemplateName
,
(
LPWSTR
)
RT_DIALOG
);
else
res
=
FindResourceA
(
data
->
u
.
dlga
->
hInstance
,
data
->
u
.
dlga
->
lpPageSetupTemplateName
,
MAKEINTRESOURCEA
(
RT_DIALOG
)
);
data
->
u
.
dlga
->
lpPageSetupTemplateName
,
(
LPSTR
)
RT_DIALOG
);
tmpl_handle
=
LoadResource
(
data
->
u
.
dlgw
->
hInstance
,
res
);
}
else
{
res
=
FindResourceW
(
COMDLG32_hInstance
,
MAKEINTRESOURCEW
(
PAGESETUPDLGORD
),
MAKEINTRESOURCEW
(
RT_DIALOG
)
);
(
LPWSTR
)
RT_DIALOG
);
tmpl_handle
=
LoadResource
(
COMDLG32_hInstance
,
res
);
}
return
LockResource
(
tmpl_handle
);
...
...
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