summaryrefslogtreecommitdiff
path: root/ide-usages.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-31 10:41:01 -0500
committerpommicket <pommicket@gmail.com>2022-12-31 10:41:24 -0500
commit31520dd979ef8abe4e38d4ba0b2912a8385b8351 (patch)
tree4a19d083e416741a6b52fdbfda6166ec1773a021 /ide-usages.c
parent2b3b1bd0ed03739e3357516490e265261c5f815f (diff)
avoid using time_get_seconds
because it makes a syscall
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 dccb3d0..9b1b3fb 100644
--- a/ide-usages.c
+++ b/ide-usages.c
@@ -56,7 +56,7 @@ void usages_process_lsp_response(Ted *ted, LSPResponse *response) {
build_check_for_errors(ted);
} else {
- ted->cursor_error_time = time_get_seconds();
+ ted_flash_error_cursor(ted);
}
usages->last_request_id = 0;
}