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
fdf8ab11
Commit
fdf8ab11
authored
Jul 26, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Format text set by means of a control event.
parent
4759dcc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
dialog.c
dlls/msi/dialog.c
+9
-3
No files found.
dlls/msi/dialog.c
View file @
fdf8ab11
...
...
@@ -621,19 +621,25 @@ static void dialog_handle_event( msi_dialog *dialog, const WCHAR *control,
const
WCHAR
*
attribute
,
MSIRECORD
*
rec
)
{
msi_control
*
ctrl
;
LPCWSTR
font_text
,
text
=
NULL
;
LPWSTR
font
;
ctrl
=
msi_dialog_find_control
(
dialog
,
control
);
if
(
!
ctrl
)
return
;
if
(
!
strcmpW
(
attribute
,
szText
)
)
{
const
WCHAR
*
font_text
,
*
text
=
NULL
;
WCHAR
*
font
,
*
text_fmt
=
NULL
;
font_text
=
MSI_RecordGetString
(
rec
,
1
);
font
=
msi_dialog_get_style
(
font_text
,
&
text
);
if
(
!
text
)
text
=
szEmpty
;
deformat_string
(
dialog
->
package
,
text
,
&
text_fmt
);
if
(
text_fmt
)
text
=
text_fmt
;
else
text
=
szEmpty
;
SetWindowTextW
(
ctrl
->
hwnd
,
text
);
msi_free
(
font
);
msi_free
(
text_fmt
);
msi_dialog_check_messages
(
NULL
);
}
else
if
(
!
strcmpW
(
attribute
,
szProgress
)
)
...
...
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