mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
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 <no-reply+haikuformatbot@haiku-os.org> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
09abc534f3
commit
b88d29aa2c
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user