Skip to content
Snippets Groups Projects
Commit 2b40016b authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

datatransfer: decode multi-byte path string on windows

Change-Id: I0c6cb7a45ceb142717519f4dfd2a8541aea5db5d
parent 13b8e81e
Branches
No related tags found
No related merge requests found
......@@ -723,7 +723,11 @@ DataTransferFacade::acceptAsFile(const DRing::DataTransferId& id,
const auto& iter = pimpl_->map_.find(id);
if (iter == std::end(pimpl_->map_))
return DRing::DataTransferError::invalid_argument;
#ifndef _WIN32
iter->second->accept(file_path, offset);
#else
iter->second->accept(decodeMultibyteString(file_path), offset);
#endif
return DRing::DataTransferError::success;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment