diff --git a/src/CalcManager/ExpressionCommand.cpp b/src/CalcManager/ExpressionCommand.cpp index c95737598..906104a66 100644 --- a/src/CalcManager/ExpressionCommand.cpp +++ b/src/CalcManager/ExpressionCommand.cpp @@ -135,7 +135,7 @@ void COpndCommand::AppendCommand(int command) if (command == IDC_PNT) { m_fDecimal = true; -} + } } void COpndCommand::ToggleSign() @@ -178,11 +178,11 @@ void COpndCommand::RemoveFromEnd() if (nOpCode == IDC_PNT) { m_fDecimal = false; - } + } m_commands->RemoveAt(nCommands - 1); + } } } -} bool COpndCommand::IsNegative() const { @@ -303,4 +303,3 @@ void COpndCommand::Accept(_In_ ISerializeCommandVisitor &commandVisitor) { commandVisitor.Visit(*this); } -