Browse Source

Need to delete only one

master
boisso 7 years ago
parent
commit
7d7a6cd792
  1. 4
      k-meleon/sessions/sessionstore.cpp

4
k-meleon/sessions/sessionstore.cpp

@ -535,8 +535,10 @@ void SessionStore::Delete(const char* name)
if (
! (*it).IsObject()
|| (!(*it)["name"].IsString())
|| (strcmp(name, (*it)["name"].GetString()) == 0))
|| (strcmp(name, (*it)["name"].GetString()) == 0)) {
it = sessions.Erase(it);
break;
}
else it++;
}

Loading…
Cancel
Save