mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
Merge pull request #1400 from RaiKoHoff/Dev_NewFeatures
Avoid deletion of "recent items" section in ini-file
This commit is contained in:
commit
2a932c5a08
@ -199,7 +199,7 @@ extern "C" bool IniSectionDelete(LPCWSTR lpSectionName, LPCWSTR lpKeyName, bool
|
||||
|
||||
extern "C" bool IniSectionClear(LPCWSTR lpSectionName, bool bRemoveEmpty)
|
||||
{
|
||||
return s_INI.Delete(lpSectionName, nullptr, bRemoveEmpty);
|
||||
return s_INI.Delete(lpSectionName, bRemoveEmpty ? nullptr : L"", bRemoveEmpty);
|
||||
}
|
||||
// ============================================================================
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user