diff --git a/src/app/cmd/clear_slices.cpp b/src/app/cmd/clear_slices.cpp index f1a2cf0a7..89305c731 100644 --- a/src/app/cmd/clear_slices.cpp +++ b/src/app/cmd/clear_slices.cpp @@ -112,7 +112,7 @@ void ClearSlices::clear() gfx::Region(sc.mask.bounds()), m_tilesetMode, [sc, bgcolor](const doc::ImageRef& origTile, - const gfx::Rect& tileBoundsInCanvas) -> doc::ImageRef { + const gfx::Rect& tileBoundsInCanvas) -> doc::ImageRef { doc::ImageRef modified(doc::Image::createCopy(origTile.get())); doc::algorithm::fill_selection( modified.get(), @@ -142,9 +142,9 @@ void ClearSlices::restore() continue; copy_image(sc.cel()->image(), - sc.copy.get(), - sc.cropPos.x, - sc.cropPos.y); + sc.copy.get(), + sc.cropPos.x, + sc.cropPos.y); } } diff --git a/src/app/ui/editor/moving_slice_state.cpp b/src/app/ui/editor/moving_slice_state.cpp index df87f2782..0e5b8deb5 100644 --- a/src/app/ui/editor/moving_slice_state.cpp +++ b/src/app/ui/editor/moving_slice_state.cpp @@ -9,12 +9,13 @@ #include "config.h" #endif +#include "app/ui/editor/moving_slice_state.h" + #include "app/cmd/set_slice_key.h" #include "app/cmd/clear_slices.h" #include "app/context_access.h" #include "app/tx.h" #include "app/ui/editor/editor.h" -#include "app/ui/editor/moving_slice_state.h" #include "app/ui/status_bar.h" #include "app/ui_context.h" #include "app/util/expand_cel_canvas.h"