Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
891df89e
Commit
891df89e
authored
Jan 11, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove the font when setting a control's text.
parent
823ba55a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
dialog.c
dlls/msi/dialog.c
+5
-2
No files found.
dlls/msi/dialog.c
View file @
891df89e
...
...
@@ -459,7 +459,8 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
LPCWSTR
attribute
,
MSIRECORD
*
rec
)
{
msi_control
*
ctrl
;
LPCWSTR
text
;
LPCWSTR
font_text
,
text
=
NULL
;
LPWSTR
font
;
ctrl
=
msi_dialog_find_control
(
dialog
,
control
);
if
(
!
ctrl
)
...
...
@@ -469,8 +470,10 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
ERR
(
"Attribute %s
\n
"
,
debugstr_w
(
attribute
));
return
;
}
text
=
MSI_RecordGetString
(
rec
,
1
);
font_text
=
MSI_RecordGetString
(
rec
,
1
);
font
=
msi_dialog_get_style
(
font_text
,
&
text
);
SetWindowTextW
(
ctrl
->
hwnd
,
text
);
msi_free
(
font
);
msi_dialog_check_messages
(
NULL
);
}
...
...
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