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
e4743041
Commit
e4743041
authored
Apr 23, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Apr 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add a non-persistent string instead of a persistent one if the table or row is non-persistent.
parent
697d820e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
table.c
dlls/msi/table.c
+6
-1
No files found.
dlls/msi/table.c
View file @
e4743041
...
...
@@ -1250,10 +1250,14 @@ static UINT TABLE_set_row( struct tagMSIVIEW *view, UINT row, MSIRECORD *rec, UI
for
(
i
=
0
;
i
<
tv
->
num_cols
;
i
++
)
{
BOOL
persistent
;
/* only update the fields specified in the mask */
if
(
!
(
mask
&
(
1
<<
i
))
)
continue
;
/* if row >= tv->table->row_count then it is a non-persistent row */
persistent
=
tv
->
table
->
persistent
&&
(
row
<
tv
->
table
->
row_count
);
/* FIXME: should we allow updating keys? */
val
=
0
;
...
...
@@ -1266,7 +1270,8 @@ static UINT TABLE_set_row( struct tagMSIVIEW *view, UINT row, MSIRECORD *rec, UI
else
if
(
tv
->
columns
[
i
].
type
&
MSITYPE_STRING
)
{
LPCWSTR
sval
=
MSI_RecordGetString
(
rec
,
i
+
1
);
val
=
msi_addstringW
(
tv
->
db
->
strings
,
0
,
sval
,
-
1
,
1
,
StringPersistent
);
val
=
msi_addstringW
(
tv
->
db
->
strings
,
0
,
sval
,
-
1
,
1
,
persistent
?
StringPersistent
:
StringNonPersistent
);
}
else
if
(
2
==
bytes_per_column
(
&
tv
->
columns
[
i
]
)
)
{
...
...
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