Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
374c0428
Commit
374c0428
authored
Oct 07, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Oct 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove the columns in reverse order.
parent
aa230a62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
table.c
dlls/msi/table.c
+4
-3
No files found.
dlls/msi/table.c
View file @
374c0428
...
...
@@ -943,7 +943,7 @@ static UINT get_tablecolumns( MSIDATABASE *db,
UINT
r
,
i
,
n
=
0
,
table_id
,
count
,
maxcount
=
*
sz
;
MSITABLE
*
table
=
NULL
;
TRACE
(
"%s
\n
"
,
debugstr_w
(
szTableName
)
);
TRACE
(
"%s
%d
\n
"
,
debugstr_w
(
szTableName
),
*
sz
);
/* first check if there is a default table with that name */
r
=
get_defaulttablecolumns
(
db
,
szTableName
,
colinfo
,
sz
);
...
...
@@ -2055,11 +2055,12 @@ static UINT TABLE_drop(struct tagMSIVIEW *view)
MSITABLEVIEW
*
tv
=
(
MSITABLEVIEW
*
)
view
;
MSIVIEW
*
tables
=
NULL
;
MSIRECORD
*
rec
=
NULL
;
UINT
i
,
r
,
row
;
UINT
r
,
row
;
INT
i
;
TRACE
(
"dropping table %s
\n
"
,
debugstr_w
(
tv
->
name
));
for
(
i
=
0
;
i
<
tv
->
table
->
col_count
;
i
++
)
for
(
i
=
tv
->
table
->
col_count
-
1
;
i
>=
0
;
i
--
)
{
r
=
TABLE_remove_column
(
view
,
tv
->
table
->
colinfo
[
i
].
tablename
,
tv
->
table
->
colinfo
[
i
].
number
);
...
...
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