+ fix: avoid deletion of "recent items" section in ini-file

This commit is contained in:
Rainer Kottenhoff 2019-07-07 18:52:52 +02:00
parent 8d8cb2d88f
commit edbb096c4b

View File

@ -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);
}
// ============================================================================