Skip to content

Commit

Permalink
Use istringEqual in vt.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Mar 7, 2024
1 parent 35b24a5 commit 45185c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osversion/VersionTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9146,7 +9146,7 @@ namespace osversion {
for (size_t i = 0; i < object.numFields(); ++i) {
if ((value = object.getString(i))) {
if (i == 10) {
if (value.get() == "ZoneAveraged") {
if (istringEqual(value.get(), "ZoneAveraged")) {
newObject.setString(10, "EnclosureAveraged");
} else {
newObject.setString(10, value.get());
Expand Down

0 comments on commit 45185c5

Please sign in to comment.