Skip to content

Commit

Permalink
Convert "and" to "&&".
Browse files Browse the repository at this point in the history
  • Loading branch information
craigsapp committed Dec 13, 2023
1 parent f274619 commit 9d4cfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iohumdrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4813,7 +4813,7 @@ void HumdrumInput::createComposerElements(pugi::xml_node work)
appendText(deathDate, isodates[1]);
}
}
else if (!isodateBirth.empty() and !isodateDeath.empty()) {
else if (!isodateBirth.empty() && !isodateDeath.empty()) {
pugi::xml_node birthDate = personInfo.append_child("birthDate");
birthDate.append_attribute("encoding") = "edtf";
appendText(birthDate, isodateBirth);
Expand Down

0 comments on commit 9d4cfff

Please sign in to comment.