Formatting

This commit is contained in:
mattesony 2022-11-01 17:23:41 -07:00
parent c14725cf97
commit 00d2b3f9b0
2 changed files with 2 additions and 3 deletions

View File

@ -245,9 +245,8 @@ int Entry::getPasswordAge() const
// Found last change in history
return curr->timeInfo().lastModificationTime().secsTo(Clock::currentDateTime());
}
}
if (previous!=this) {
if (previous != this) {
// If no change in history, password is from oldest history entry.
// Not using creation time here because that changes when an entry is cloned
return previous->timeInfo().lastModificationTime().secsTo(Clock::currentDateTime());