diff --git a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp index 07dbba36..4a0836df 100644 --- a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp +++ b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp @@ -1730,7 +1730,7 @@ auto remote_server::update_to_windows_format(const std::string &root_api_path, return item; } - item[JSON_DIRECTORY] = utils::string::from_bool(true); + item[JSON_DIRECTORY] = true; item[JSON_META] = meta; } @@ -1757,7 +1757,7 @@ auto remote_server::update_to_windows_format(const std::string &root_api_path, auto attributes = utils::string::to_uint32( item[JSON_META][META_ATTRIBUTES].get()); - if (utils::string::to_bool(item[JSON_DIRECTORY].get())) { + if (item[JSON_DIRECTORY].get()) { if ((attributes & FILE_ATTRIBUTE_DIRECTORY) != FILE_ATTRIBUTE_DIRECTORY) { attributes |= FILE_ATTRIBUTE_DIRECTORY; attributes &= static_cast(~FILE_ATTRIBUTE_ARCHIVE);