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
483c548e
Commit
483c548e
authored
Jul 18, 1999
by
Ove Kaaven
Committed by
Alexandre Julliard
Jul 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CreateDialogParamA should not call CreateDialogParamW, because
that'd create a dialog box with a Unicode dialog procedure...
parent
736eef4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
dialog.c
windows/dialog.c
+5
-8
No files found.
windows/dialog.c
View file @
483c548e
...
...
@@ -825,14 +825,11 @@ HWND WINAPI CreateDialogParamA( HINSTANCE hInst, LPCSTR name,
HWND
owner
,
DLGPROC
dlgProc
,
LPARAM
param
)
{
if
(
HIWORD
(
name
))
{
LPWSTR
str
=
HEAP_strdupAtoW
(
GetProcessHeap
(),
0
,
name
);
HWND
hwnd
=
CreateDialogParamW
(
hInst
,
str
,
owner
,
dlgProc
,
param
);
HeapFree
(
GetProcessHeap
(),
0
,
str
);
return
hwnd
;
}
return
CreateDialogParamW
(
hInst
,
(
LPCWSTR
)
name
,
owner
,
dlgProc
,
param
);
HANDLE
hrsrc
=
FindResourceA
(
hInst
,
name
,
RT_DIALOGA
);
if
(
!
hrsrc
)
return
0
;
return
CreateDialogIndirectParamA
(
hInst
,
(
LPVOID
)
LoadResource
(
hInst
,
hrsrc
),
owner
,
dlgProc
,
param
);
}
...
...
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