*** empty log message ***
This commit is contained in:
@@ -482,9 +482,9 @@ namespace libtorrent
|
|||||||
save_path = complete(save_path);
|
save_path = complete(save_path);
|
||||||
|
|
||||||
#if defined(WIN32) && defined(UNICODE)
|
#if defined(WIN32) && defined(UNICODE)
|
||||||
|
std::wstring wsave_path(safe_convert(save_path.native_file_string()));
|
||||||
if (!exists_win(save_path))
|
if (!exists_win(save_path))
|
||||||
{
|
{
|
||||||
std::wstring wsave_path(safe_convert(save_path.native_file_string()));
|
|
||||||
CreateDirectory(wsave_path.c_str(), 0);
|
CreateDirectory(wsave_path.c_str(), 0);
|
||||||
}
|
}
|
||||||
else if ((GetFileAttributes(wsave_path.c_str()) & FILE_ATTRIBUTE_DIRECTORY) == 0)
|
else if ((GetFileAttributes(wsave_path.c_str()) & FILE_ATTRIBUTE_DIRECTORY) == 0)
|
||||||
@@ -506,8 +506,8 @@ namespace libtorrent
|
|||||||
if (single_file.has_branch_path())
|
if (single_file.has_branch_path())
|
||||||
{
|
{
|
||||||
#if defined(WIN32) && defined(UNICODE)
|
#if defined(WIN32) && defined(UNICODE)
|
||||||
std::wstring wsave_path(safe_convert((save_path / single_file.branch_path()))
|
std::wstring wsave_path(safe_convert((save_path / single_file.branch_path())
|
||||||
.native_directory_string());
|
.native_directory_string()));
|
||||||
CreateDirectory(wsave_path.c_str(), 0);
|
CreateDirectory(wsave_path.c_str(), 0);
|
||||||
#else
|
#else
|
||||||
create_directory(save_path / single_file.branch_path());
|
create_directory(save_path / single_file.branch_path());
|
||||||
|
Reference in New Issue
Block a user