Fix Folder as Workspace not updating regression
This regression is due to commit 6890e94952
(#4257)
Fix #4644, fix #4379
This commit is contained in:
parent
388e874bfc
commit
43b2344b23
|
@ -149,7 +149,7 @@ void CReadChangesRequest::ProcessNotification()
|
||||||
|
|
||||||
CStringW wstrFilename(fni.FileName, fni.FileNameLength/sizeof(wchar_t));
|
CStringW wstrFilename(fni.FileName, fni.FileNameLength/sizeof(wchar_t));
|
||||||
// Handle a trailing backslash, such as for a root directory.
|
// 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;
|
wstrFilename = m_wstrDirectory + L"\\" + wstrFilename;
|
||||||
else
|
else
|
||||||
wstrFilename = m_wstrDirectory + wstrFilename;
|
wstrFilename = m_wstrDirectory + wstrFilename;
|
||||||
|
|
Loading…
Reference in New Issue