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
2067948c
Commit
2067948c
authored
Nov 21, 2004
by
Eric Frias
Committed by
Alexandre Julliard
Nov 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dialogex resource loading on sparc.
parent
da086d88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
dialog.c
windows/dialog.c
+7
-2
No files found.
windows/dialog.c
View file @
2067948c
...
...
@@ -377,9 +377,13 @@ static BOOL DIALOG_CreateControls32( HWND hwnd, LPCSTR template, const DLG_TEMPL
static
LPCSTR
DIALOG_ParseTemplate32
(
LPCSTR
template
,
DLG_TEMPLATE
*
result
)
{
const
WORD
*
p
=
(
const
WORD
*
)
template
;
WORD
signature
;
WORD
dlgver
;
result
->
style
=
GET_DWORD
(
p
);
p
+=
2
;
if
(
result
->
style
==
0xffff0001
)
/* DIALOGEX resource */
signature
=
GET_WORD
(
p
);
p
++
;
dlgver
=
GET_WORD
(
p
);
p
++
;
if
(
signature
==
1
&&
dlgver
==
0xffff
)
/* DIALOGEX resource */
{
result
->
dialogEx
=
TRUE
;
result
->
helpId
=
GET_DWORD
(
p
);
p
+=
2
;
...
...
@@ -388,6 +392,7 @@ static LPCSTR DIALOG_ParseTemplate32( LPCSTR template, DLG_TEMPLATE * result )
}
else
{
result
->
style
=
GET_DWORD
(
p
-
2
);
result
->
dialogEx
=
FALSE
;
result
->
helpId
=
0
;
result
->
exStyle
=
GET_DWORD
(
p
);
p
+=
2
;
...
...
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