mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-16 02:02:51 -07:00
Fix indentation and extra newline (#198)
This commit is contained in:
parent
595ae6a8ff
commit
248b762b80
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue