Commit 60073666 authored by Steve Lhomme's avatar Steve Lhomme

fix typo when compiling for Windows Store

parent 481bd42c
Pipeline #5263 passed with stage
in 5 minutes and 22 seconds
......@@ -96,7 +96,7 @@ void Directory::read() const
// We must remove the trailing /
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx
// «Do not use a trailing backslash (\), which indicates the root directory of a drive»
auto tmpPath = path.substr( 0, m_path.length() - 1 );
auto tmpPath = m_path.substr( 0, m_path.length() - 1 );
auto wpath = charset::ToWide( tmpPath.c_str() );
CREATEFILE2_EXTENDED_PARAMETERS params{};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment