mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 15:54:17 +02:00
Fix the wrong detection call
This commit is contained in:
parent
1445487bb7
commit
fdb68db3d6
@ -1019,7 +1019,7 @@ bool FileManager::backupCurrentBuffer()
|
|||||||
backupFilePath += L"\\backup\\";
|
backupFilePath += L"\\backup\\";
|
||||||
|
|
||||||
// if "backup" folder doesn't exist, create it.
|
// if "backup" folder doesn't exist, create it.
|
||||||
if (!doesFileExist(backupFilePath.c_str()))
|
if (!doesDirectoryExist(backupFilePath.c_str()))
|
||||||
{
|
{
|
||||||
::CreateDirectory(backupFilePath.c_str(), NULL);
|
::CreateDirectory(backupFilePath.c_str(), NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user