diff --git a/common/object.cpp b/common/object.cpp index 78269738..3a20c30e 100644 --- a/common/object.cpp +++ b/common/object.cpp @@ -21,7 +21,7 @@ QString lcObject::GetCheckpointString(lcObjectPropertyId PropertyId) return QT_TRANSLATE_NOOP("Checkpoint", "Change Piece"); case lcObjectPropertyId::PieceColor: - return QT_TRANSLATE_NOOP("Checkpoint", "Chang Piece Color"); + return QT_TRANSLATE_NOOP("Checkpoint", "Change Piece Color"); case lcObjectPropertyId::PieceStepShow: case lcObjectPropertyId::PieceStepHide: diff --git a/common/piece.cpp b/common/piece.cpp index 36d6e5cb..4000ed06 100644 --- a/common/piece.cpp +++ b/common/piece.cpp @@ -959,7 +959,7 @@ void lcPiece::SetHistoryState(const lcPieceHistoryState& State, const lcModel* M mHidden = State.Hidden; mFileLine = State.FileLine; mID = State.PieceId; - mGroup = (State.GroupIndex < Groups.size()) ? Groups[State.GroupIndex].get() : nullptr;; + mGroup = (State.GroupIndex < Groups.size()) ? Groups[State.GroupIndex].get() : nullptr; mColorIndex = State.ColorIndex; mColorCode = State.ColorCode; mStepShow = State.StepShow;