Fix Folder as Workspace not updating regression

This regression is due to commit 6890e94952 (#4257)

Fix #4644, fix #4379
This commit is contained in:
Don HO 2018-07-22 02:42:28 +02:00
parent 388e874bfc
commit 43b2344b23

View File

@ -149,7 +149,7 @@ void CReadChangesRequest::ProcessNotification()
CStringW wstrFilename(fni.FileName, fni.FileNameLength/sizeof(wchar_t));
// Handle a trailing backslash, such as for a root directory.
if (m_wstrDirectory.Right(1) != L"\\")
if (wstrFilename.Right(1) != L"\\")
wstrFilename = m_wstrDirectory + L"\\" + wstrFilename;
else
wstrFilename = m_wstrDirectory + wstrFilename;