BPoint::PrintToStream: print some decimal places
Fixes #16505. Change-Id: I6693b4c4c64d9e6559091bc2c90282db0f294561 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8499 Haiku-Format: Haiku-format Bot <[email protected]> Reviewed-by: Jérôme Duval <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
@@ -32,7 +32,7 @@ BPoint::ConstrainTo(BRect rect)
|
||||
void
|
||||
BPoint::PrintToStream() const
|
||||
{
|
||||
printf("BPoint(x:%.0f, y:%.0f)\n", x, y);
|
||||
printf("BPoint(x:%f, y:%f)\n", x, y);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user