diff options
author | pommicket <pommicket@gmail.com> | 2022-12-31 10:33:21 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-31 10:33:21 -0500 |
commit | 2b3b1bd0ed03739e3357516490e265261c5f815f (patch) | |
tree | 2be37644621ab86838bb6fdb20954660ce617064 /ide-usages.c | |
parent | f1751dbb895996728f293c6f895691693c9e8a86 (diff) |
use double instead of struct timespec
Diffstat (limited to 'ide-usages.c')
-rw-r--r-- | ide-usages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-usages.c b/ide-usages.c index 21999be..dccb3d0 100644 --- a/ide-usages.c +++ b/ide-usages.c @@ -63,6 +63,6 @@ void usages_process_lsp_response(Ted *ted, LSPResponse *response) { void usages_frame(Ted *ted) { Usages *usages = &ted->usages; - if (usages->last_request_id && timespec_sub(ted->frame_time, usages->last_request_time) > 0.2) + if (usages->last_request_id && ted->frame_time - usages->last_request_time > 0.2) ted->cursor = ted->cursor_wait; // this request is takin a while } |