Skip to content

Commit

Permalink
Merge pull request #166 from javigmateos/fix/macosx-move-action-old-f…
Browse files Browse the repository at this point in the history
…ilename

Add call to FileSystem::precomposeFileName for oldFilename on sendFil…
  • Loading branch information
SpartanJ authored Sep 12, 2023
2 parents bc4eac3 + e0e3af4 commit 350f0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/efsw/WatcherFSEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void WatcherFSEvents::sendFileAction( WatchID watchid, const std::string& dir,
const std::string& filename, Action action,
std::string oldFilename ) {
Listener->handleFileAction( watchid, FileSystem::precomposeFileName( dir ),
FileSystem::precomposeFileName( filename ), action, oldFilename );
FileSystem::precomposeFileName( filename ), action, FileSystem::precomposeFileName( oldFilename ) );
}

void WatcherFSEvents::handleAddModDel( const Uint32& flags, const std::string& path,
Expand Down

0 comments on commit 350f0d9

Please sign in to comment.