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
43ec0a4d
Commit
43ec0a4d
authored
Aug 25, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display the correct text string in the action text field for the
dialog boxes. Also the string should be deformatted.
parent
f62f6e8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
action.c
dlls/msi/action.c
+5
-2
No files found.
dlls/msi/action.c
View file @
43ec0a4d
...
...
@@ -379,6 +379,7 @@ static void ui_actionstart(MSIPACKAGE *package, LPCWSTR action)
WCHAR
timet
[
0x100
];
MSIRECORD
*
row
=
0
;
LPCWSTR
ActionText
;
LPWSTR
deformated
;
GetTimeFormatW
(
LOCALE_USER_DEFAULT
,
0
,
NULL
,
format
,
timet
,
0x100
);
...
...
@@ -387,8 +388,10 @@ static void ui_actionstart(MSIPACKAGE *package, LPCWSTR action)
return
;
ActionText
=
MSI_RecordGetString
(
row
,
2
);
deformat_string
(
package
,
ActionText
,
&
deformated
);
sprintfW
(
message
,
template_s
,
timet
,
action
,
ActionText
);
sprintfW
(
message
,
template_s
,
timet
,
action
,
deformated
);
ce_actiontext
(
package
,
deformated
);
msiobj_release
(
&
row
->
hdr
);
row
=
MSI_CreateRecord
(
1
);
...
...
@@ -396,6 +399,7 @@ static void ui_actionstart(MSIPACKAGE *package, LPCWSTR action)
MSI_ProcessMessage
(
package
,
INSTALLMESSAGE_ACTIONSTART
,
row
);
msiobj_release
(
&
row
->
hdr
);
HeapFree
(
GetProcessHeap
(),
0
,
deformated
);
}
static
void
ui_actioninfo
(
MSIPACKAGE
*
package
,
LPCWSTR
action
,
BOOL
start
,
...
...
@@ -799,7 +803,6 @@ static BOOL ACTION_HandleStandardAction(MSIPACKAGE *package, LPCWSTR action,
{
if
(
strcmpW
(
StandardActions
[
i
].
action
,
action
)
==
0
)
{
ce_actiontext
(
package
,
action
);
if
(
!
run
)
{
ui_actioninfo
(
package
,
action
,
TRUE
,
0
);
...
...
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