summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/file_transfer.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-04-26 13:20:48 +0300
committeraunsane <aunsane@gmail.com>2018-04-26 13:20:48 +0300
commit6bb961489e3cebf19d32c83df5126fe4ea73e37a (patch)
tree5ea585d454cffb61b2c113c1c681f575cff724bf /plugins/CloudFile/src/file_transfer.h
parent5d651e838c864347fc6a6276d637e4008dafd764 (diff)
CloudFile: fix for #1298
Diffstat (limited to 'plugins/CloudFile/src/file_transfer.h')
-rw-r--r--plugins/CloudFile/src/file_transfer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/file_transfer.h b/plugins/CloudFile/src/file_transfer.h
index 9918018ff0..95ce0aa120 100644
--- a/plugins/CloudFile/src/file_transfer.h
+++ b/plugins/CloudFile/src/file_transfer.h
@@ -14,7 +14,7 @@ private:
CMStringW m_serverDirectory;
int m_relativePathStart;
-
+
LIST<char> m_links;
CMStringW m_description;
@@ -138,7 +138,7 @@ public:
const bool IsCurrentFileInSubDirectory() const
{
- const wchar_t *backslash = wcschr(GetCurrentFilePath(), L'\\');
+ const wchar_t *backslash = wcschr(GetCurrentRelativeFilePath(), L'\\');
return backslash != nullptr;
}