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
07c85fe8
Commit
07c85fe8
authored
Oct 10, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Avoid reading the transform table data twice.
parent
e9c5e93f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
table.c
dlls/msi/table.c
+1
-9
No files found.
dlls/msi/table.c
View file @
07c85fe8
...
@@ -1833,6 +1833,7 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
...
@@ -1833,6 +1833,7 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
TRACE
(
"%p %p %p %s
\n
"
,
db
,
stg
,
st
,
debugstr_w
(
name
)
);
TRACE
(
"%p %p %p %s
\n
"
,
db
,
stg
,
st
,
debugstr_w
(
name
)
);
/* read the transform data */
read_stream_data
(
stg
,
name
,
&
rawdata
,
&
rawsize
);
read_stream_data
(
stg
,
name
,
&
rawdata
,
&
rawsize
);
if
(
!
rawdata
)
if
(
!
rawdata
)
{
{
...
@@ -1849,15 +1850,6 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
...
@@ -1849,15 +1850,6 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
if
(
r
!=
ERROR_SUCCESS
)
if
(
r
!=
ERROR_SUCCESS
)
goto
err
;
goto
err
;
/* read the transform data */
r
=
ERROR_FUNCTION_FAILED
;
read_stream_data
(
stg
,
name
,
&
rawdata
,
&
rawsize
);
if
(
!
rawdata
||
(
rawsize
<
2
)
)
{
ERR
(
"odd sized transform for table %s
\n
"
,
debugstr_w
(
name
));
goto
err
;
}
TRACE
(
"name = %s columns = %u row_size = %u raw size = %u
\n
"
,
TRACE
(
"name = %s columns = %u row_size = %u raw size = %u
\n
"
,
debugstr_w
(
name
),
tv
->
num_cols
,
tv
->
row_size
,
rawsize
);
debugstr_w
(
name
),
tv
->
num_cols
,
tv
->
row_size
,
rawsize
);
...
...
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