diff options
Diffstat (limited to 'backends/fs')
| -rw-r--r-- | backends/fs/windows/windows-fs.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index cbb93e8cd6..ac2f521e21 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -245,7 +245,7 @@ WindowsFilesystemNode::WindowsFilesystemNode(const String &p, const bool current  		_isDirectory = ((fileAttribs & FILE_ATTRIBUTE_DIRECTORY) != 0);  		_isValid = true;  		// Add a trailing slash, if necessary. -		if (_path.lastChar() != '\\') { +		if (_isDirectory && _path.lastChar() != '\\') {  			_path += '\\';  		}  	}  | 
