DeskCalc: Style fix, add space around binary op
This commit is contained in:
@@ -286,8 +286,8 @@ ExpressionTextView::SetValue(BString value)
|
|||||||
}
|
}
|
||||||
if (digit == 10) {
|
if (digit == 10) {
|
||||||
// carry over, shift the result
|
// carry over, shift the result
|
||||||
if (value[firstDigit+1] == '.') {
|
if (value[firstDigit + 1] == '.') {
|
||||||
value[firstDigit+1] = '0';
|
value[firstDigit + 1] = '0';
|
||||||
value[firstDigit] = '.';
|
value[firstDigit] = '.';
|
||||||
}
|
}
|
||||||
value.Insert('1', 1, firstDigit);
|
value.Insert('1', 1, firstDigit);
|
||||||
|
|||||||
Reference in New Issue
Block a user