From a2407f94e4331de8c0b7adbfd3cf23e48cca77c1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 1 Jul 2019 16:36:29 +0530 Subject: [PATCH] Remove unnecessary call to monotonic() --- kitty/child-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index cc485c586..181979eef 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -678,7 +678,7 @@ draw_resizing_text(OSWindow *w) { static inline bool no_render_frame_received_recently(OSWindow *w, double now, double max_wait) { bool ans = now - w->last_render_frame_received_at > max_wait; - if (ans) log_error("No render frame received in %f seconds, re-requesting at: %f", max_wait, monotonic()); + if (ans) log_error("No render frame received in %f seconds, re-requesting at: %f", max_wait, now); return ans; }