Skip to content

Commit

Permalink
Update Sources/Plasma/FeatureLib/pfPatcher/pfPatcher.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Darryl Pogue <darryl@dpogue.ca>
  • Loading branch information
colincornaby and dpogue committed Jun 18, 2024
1 parent d36917d commit f734138
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/Plasma/FeatureLib/pfPatcher/pfPatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,8 @@ void pfPatcherWorker::IHashFile(pfPatcherQueuedFile& file)

// Check to see if ours matches
plFileName clientPathForComparison = file.fClientPath;
if (file.fFlags & kBundle) {
if (fFindBundleExe) {
clientPathForComparison = fFindBundleExe(clientPathForComparison);
}
if ((file.fFlags & kBundle) && fFindBundleExe) {
clientPathForComparison = fFindBundleExe(clientPathForComparison);
}
plFileInfo mine(clientPathForComparison);
if (mine.FileSize() == file.fFileSize) {
Expand Down

0 comments on commit f734138

Please sign in to comment.