Clean up comment a bit, meant to do this in last push
There was a trailing space at the end of the line.
This commit is contained in:
@@ -311,8 +311,7 @@ ExpressionTextView::SetValue(BString value)
|
|||||||
while (value[offset] == '0')
|
while (value[offset] == '0')
|
||||||
value.Remove(offset--, 1);
|
value.Remove(offset--, 1);
|
||||||
|
|
||||||
// there is no need to keep the period if no
|
// no need to keep the period if no digits follow
|
||||||
// digits follow
|
|
||||||
if (value[offset] == '.')
|
if (value[offset] == '.')
|
||||||
value.Remove(offset, 1);
|
value.Remove(offset, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user