Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
2067948c
Commit
2067948c
authored
20 years ago
by
Eric Frias
Committed by
Alexandre Julliard
20 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed dialogex resource loading on sparc.
parent
da086d88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
windows/dialog.c
+7
-2
7 additions, 2 deletions
windows/dialog.c
with
7 additions
and
2 deletions
windows/dialog.c
+
7
−
2
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment