diff options
Diffstat (limited to 'src/cairo-surface-observer.c')
-rw-r--r-- | src/cairo-surface-observer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-surface-observer.c b/src/cairo-surface-observer.c index a0dcb2f5..65f6585d 100644 --- a/src/cairo-surface-observer.c +++ b/src/cairo-surface-observer.c @@ -1603,7 +1603,8 @@ print_record (cairo_output_stream_t *stream, static double percent (cairo_time_t a, cairo_time_t b) { /* Fake %.1f */ - return round (_cairo_time_to_s (a) * 1000 / _cairo_time_to_s (b)) / 10; + return _cairo_round (_cairo_time_to_s (a) * 1000 / + _cairo_time_to_s (b)) / 10; } static cairo_bool_t |