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
724c8da7
Commit
724c8da7
authored
Feb 29, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Mar 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't bail out if the row to modify is not found as not all modify commands need the row.
parent
e4c1227e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
where.c
dlls/msi/where.c
+2
-5
No files found.
dlls/msi/where.c
View file @
724c8da7
...
...
@@ -88,7 +88,7 @@ static UINT find_entry_in_hash(MSIHASHENTRY **table, UINT row, UINT *val)
if
(
!
(
entry
=
table
[
row
%
MSI_HASH_TABLE_SIZE
]))
{
ERR
(
"Row not found in hash table!
\n
"
);
WARN
(
"Row not found in hash table!
\n
"
);
return
ERROR_FUNCTION_FAILED
;
}
...
...
@@ -511,10 +511,7 @@ static UINT WHERE_modify( struct tagMSIVIEW *view, MSIMODIFY eModifyMode,
if
(
r
!=
ERROR_SUCCESS
)
return
r
;
r
=
find_entry_in_hash
(
wv
->
reorder
,
row
-
1
,
&
row
);
if
(
r
!=
ERROR_SUCCESS
)
return
r
;
find_entry_in_hash
(
wv
->
reorder
,
row
-
1
,
&
row
);
return
wv
->
table
->
ops
->
modify
(
wv
->
table
,
eModifyMode
,
rec
,
row
);
}
...
...
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