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
24dd10c6
Commit
24dd10c6
authored
Feb 04, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make room for the new row in STREAMS_insert_row.
parent
c1940c1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
streams.c
dlls/msi/streams.c
+6
-1
No files found.
dlls/msi/streams.c
View file @
24dd10c6
...
...
@@ -218,6 +218,7 @@ done:
static
UINT
STREAMS_insert_row
(
struct
tagMSIVIEW
*
view
,
MSIRECORD
*
rec
,
UINT
row
,
BOOL
temporary
)
{
MSISTREAMSVIEW
*
sv
=
(
MSISTREAMSVIEW
*
)
view
;
UINT
i
;
TRACE
(
"(%p, %p, %d, %d)
\n
"
,
view
,
rec
,
row
,
temporary
);
...
...
@@ -227,7 +228,11 @@ static UINT STREAMS_insert_row(struct tagMSIVIEW *view, MSIRECORD *rec, UINT row
if
(
row
==
-
1
)
row
=
sv
->
num_rows
-
1
;
/* FIXME have to readjust rows */
/* shift the rows to make room for the new row */
for
(
i
=
sv
->
num_rows
-
1
;
i
>
row
;
i
--
)
{
sv
->
streams
[
i
]
=
sv
->
streams
[
i
-
1
];
}
return
STREAMS_set_row
(
view
,
row
,
rec
,
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