Skip to content

Commit

Permalink
Remove redundant text for new syl in SetText()
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Mar 14, 2024
1 parent a1f3829 commit 9fce07b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1895,11 +1895,7 @@ bool EditorToolkitNeume::SetText(std::string elementId, const std::string &text)
std::u32string str = U"";
text->SetText(str);
syl->AddChild(text);

syllable->AddChild(syl);
Text *textChild = new Text();
textChild->SetText(wtext);
syl->AddChild(textChild);
if (m_doc->GetType() == Facs) {
// Create a default bounding box
Zone *zone = new Zone();
Expand Down

0 comments on commit 9fce07b

Please sign in to comment.