mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 13:24:42 +02:00
Fix Folder as Workspace not updating regression
This regression is due to commit 6890e9495251ebe7088c3fdf18aa0c9952cc4d2a (#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));
|
||||
// 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user