mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
[UDFS] Really use 'logical or' when meant to
'binary or' was also working, but it is less clear.
This commit is contained in:
parent
76910c358f
commit
12c70fb4cf
1 changed files with 1 additions and 1 deletions
|
@ -1113,7 +1113,7 @@ WCacheUpdatePacket(
|
|||
// If we didn't read packet from media, we can't
|
||||
// perform comparison to assure that packet was really modified.
|
||||
// Thus, assume that it is modified in this case.
|
||||
mod = !read | Cache->DoNotCompare;
|
||||
mod = !read || Cache->DoNotCompare;
|
||||
Lba0 = Lba - firstLba;
|
||||
for(i=0; i<PSs; i++, Lba0++) {
|
||||
if( WCacheGetModFlag(block_array, Lba0) ||
|
||||
|
|
Loading…
Reference in a new issue