Skip to content

Commit

Permalink
third step
Browse files Browse the repository at this point in the history
  • Loading branch information
even1024 committed Dec 17, 2024
1 parent 53bdce4 commit eaa197b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion core/indigo-core/molecule/src/meta_commons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ namespace indigo
lhs.erase(fs_it);
lhs.insert(fs);
}
} else
}
else
lhs.insert(fs);
}
else
Expand Down
3 changes: 1 addition & 2 deletions core/indigo-core/molecule/src/molecule_cdxml_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1764,8 +1764,7 @@ void MoleculeCdxmlLoader::_parseTextToKetObject(BaseCDXElement& elem, std::vecto
auto fidx = font_color_index.value();
auto font_color = fidx >= 0 && font_color_index.value() < static_cast<int>(color_table.size()) ? color_table[font_color_index.value()]
: (fidx == -1 ? 0xFFFFFF : 0);
fss.emplace(std::piecewise_construct, std::forward_as_tuple(KETFontStyle::FontStyle::EColor, font_color),
std::forward_as_tuple(true));
fss.emplace(std::piecewise_construct, std::forward_as_tuple(KETFontStyle::FontStyle::EColor, font_color), std::forward_as_tuple(true));
}

// set fss font family
Expand Down
2 changes: 1 addition & 1 deletion utils/indigo-depict/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ int main(int argc, char* argv[])
indigoSetOption("ignore-stereochemistry-errors", "on");
indigoSetOption("ignore-bad-valence", "on");
indigoSetOption("molfile-saving-mode", "3000");
//indigoSetOption("ket-saving-version", "2.0.0");
indigoSetOption("ket-saving-version", "2.0.0");
indigoSetOptionBool("json-saving-pretty", "on");

if (parseParams(&p, argc, argv) < 0)
Expand Down

0 comments on commit eaa197b

Please sign in to comment.