Skip to content

Commit

Permalink
Fix gcc compiler errors
Browse files Browse the repository at this point in the history
reg. stray (unicode characters?) '\321', '\201', '\320'  and ' \241`  in program
  • Loading branch information
Jojo-Schmitz authored and igorkorsukov committed Sep 11, 2023
1 parent 9966e8e commit 22531d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engraving/dom/engravingitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ EngravingItem* EngravingItem::parentItem(bool explicitParent) const
return nullptr;
}

static void сollectСhildrenItems(const EngravingObject* item, EngravingItemList& list, bool all)
static void collectChildrenItems(const EngravingObject* item, EngravingItemList& list, bool all)
{
for (EngravingObject* ch : item->children()) {
if (ch->isEngravingItem()) {
list.push_back(static_cast<EngravingItem*>(ch));

if (all) {
сollectСhildrenItems(ch, list, all);
collectChildrenItems(ch, list, all);
}
}
}
Expand All @@ -167,7 +167,7 @@ static void сollectСhildrenItems(const EngravingObject* item, EngravingItemLis
EngravingItemList EngravingItem::childrenItems(bool all) const
{
EngravingItemList list;
сollectСhildrenItems(this, list, all);
collectChildrenItems(this, list, all);
return list;
}

Expand Down

0 comments on commit 22531d1

Please sign in to comment.