From 75f0b3a6064a00a6ccd157fb73e065de0bd1222f Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 16 Feb 2022 20:20:48 -0600 Subject: [PATCH] [nostalgia/core/studio] Cleanup --- src/nostalgia/core/studio/tilesheeteditormodel.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nostalgia/core/studio/tilesheeteditormodel.hpp b/src/nostalgia/core/studio/tilesheeteditormodel.hpp index 08596f761..349b82644 100644 --- a/src/nostalgia/core/studio/tilesheeteditormodel.hpp +++ b/src/nostalgia/core/studio/tilesheeteditormodel.hpp @@ -57,8 +57,7 @@ struct DrawCommand: public studio::UndoCommand { } void redo() noexcept final { - for (const auto &c : m_changes - ) { + for (const auto &c : m_changes) { m_img->setPixel(c.idx, m_palIdx); } *m_modelUpdated = true;