From 51f758db3f98d2d8f4a70491b3a95ec71e0877fa Mon Sep 17 00:00:00 2001 From: John Scipione Date: Wed, 26 Jun 2013 18:56:53 -0400 Subject: [PATCH] DeskCalc: Style fix, add space around binary op --- src/apps/deskcalc/ExpressionTextView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/deskcalc/ExpressionTextView.cpp b/src/apps/deskcalc/ExpressionTextView.cpp index f100efd074..4f8d3d3665 100644 --- a/src/apps/deskcalc/ExpressionTextView.cpp +++ b/src/apps/deskcalc/ExpressionTextView.cpp @@ -286,8 +286,8 @@ ExpressionTextView::SetValue(BString value) } if (digit == 10) { // carry over, shift the result - if (value[firstDigit+1] == '.') { - value[firstDigit+1] = '0'; + if (value[firstDigit + 1] == '.') { + value[firstDigit + 1] = '0'; value[firstDigit] = '.'; } value.Insert('1', 1, firstDigit);