turns out setting config to itself is a special case worth handling

This commit is contained in:
Alcaro 2019-05-26 14:34:27 +02:00
parent 7f2a2d88be
commit 3cd9ff252a

View File

@ -412,6 +412,8 @@ void config::set(LPCWSTR name, LPCWSTR value)
{
if (!wcscmp(name, this->names[i]))
{
if (value == this->values[i])
return;
free(this->values[i]);
if (value!=NULL)
{