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
67f83ba7
Commit
67f83ba7
authored
Sep 23, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Take advantage of the msi_get_deformatted_field function to simplify
some code.
parent
216a4427
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
dialog.c
dlls/msi/dialog.c
+4
-9
No files found.
dlls/msi/dialog.c
View file @
67f83ba7
...
...
@@ -625,7 +625,6 @@ static LPWSTR msi_get_checkbox_value( msi_dialog *dialog, LPCWSTR prop )
'\''
,
'%'
,
's'
,
'\''
,
0
};
MSIRECORD
*
rec
=
NULL
;
LPCWSTR
val
=
NULL
;
LPWSTR
ret
=
NULL
;
/* find if there is a value associated with the checkbox */
...
...
@@ -633,15 +632,11 @@ static LPWSTR msi_get_checkbox_value( msi_dialog *dialog, LPCWSTR prop )
if
(
!
rec
)
return
ret
;
val
=
MSI_RecordGetString
(
rec
,
2
);
if
(
val
)
ret
=
msi_get_deformatted_field
(
dialog
->
package
,
rec
,
2
);
if
(
ret
&&
!
ret
[
0
]
)
{
deformat_string
(
dialog
->
package
,
val
,
&
ret
);
if
(
ret
&&
!
ret
[
0
]
)
{
msi_free
(
ret
);
ret
=
NULL
;
}
msi_free
(
ret
);
ret
=
NULL
;
}
msiobj_release
(
&
rec
->
hdr
);
if
(
ret
)
...
...
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