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
e0d4df6b
Commit
e0d4df6b
authored
Dec 20, 2005
by
Bill Medland
Committed by
Alexandre Julliard
Dec 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use a default dialog font if nothing is specified.
parent
9a036944
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dialog.c
dlls/msi/dialog.c
+7
-0
No files found.
dlls/msi/dialog.c
View file @
e0d4df6b
...
@@ -1618,6 +1618,8 @@ static LRESULT msi_dialog_oncreate( HWND hwnd, LPCREATESTRUCTW cs )
...
@@ -1618,6 +1618,8 @@ static LRESULT msi_dialog_oncreate( HWND hwnd, LPCREATESTRUCTW cs )
{
{
static
const
WCHAR
df
[]
=
{
static
const
WCHAR
df
[]
=
{
'D'
,
'e'
,
'f'
,
'a'
,
'u'
,
'l'
,
't'
,
'U'
,
'I'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
'D'
,
'e'
,
'f'
,
'a'
,
'u'
,
'l'
,
't'
,
'U'
,
'I'
,
'F'
,
'o'
,
'n'
,
't'
,
0
};
static
const
WCHAR
dfv
[]
=
{
'M'
,
'S'
,
' '
,
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
' '
,
'D'
,
'l'
,
'g'
,
0
};
msi_dialog
*
dialog
=
(
msi_dialog
*
)
cs
->
lpCreateParams
;
msi_dialog
*
dialog
=
(
msi_dialog
*
)
cs
->
lpCreateParams
;
MSIRECORD
*
rec
=
NULL
;
MSIRECORD
*
rec
=
NULL
;
LPWSTR
title
=
NULL
;
LPWSTR
title
=
NULL
;
...
@@ -1644,6 +1646,11 @@ static LRESULT msi_dialog_oncreate( HWND hwnd, LPCREATESTRUCTW cs )
...
@@ -1644,6 +1646,11 @@ static LRESULT msi_dialog_oncreate( HWND hwnd, LPCREATESTRUCTW cs )
dialog
->
attributes
=
MSI_RecordGetInteger
(
rec
,
6
);
dialog
->
attributes
=
MSI_RecordGetInteger
(
rec
,
6
);
dialog
->
default_font
=
msi_dup_property
(
dialog
->
package
,
df
);
dialog
->
default_font
=
msi_dup_property
(
dialog
->
package
,
df
);
if
(
!
dialog
->
default_font
)
{
dialog
->
default_font
=
strdupW
(
dfv
);
if
(
!
dialog
->
default_font
)
return
-
1
;
}
title
=
msi_get_deformatted_field
(
dialog
->
package
,
rec
,
7
);
title
=
msi_get_deformatted_field
(
dialog
->
package
,
rec
,
7
);
SetWindowTextW
(
hwnd
,
title
);
SetWindowTextW
(
hwnd
,
title
);
...
...
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