summaryrefslogtreecommitdiff
path: root/ide-usages.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide-usages.c')
-rw-r--r--ide-usages.c2
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
}