diff options
author | pommicket <pommicket@gmail.com> | 2022-12-31 10:41:01 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-31 10:41:24 -0500 |
commit | 31520dd979ef8abe4e38d4ba0b2912a8385b8351 (patch) | |
tree | 4a19d083e416741a6b52fdbfda6166ec1773a021 /ide-usages.c | |
parent | 2b3b1bd0ed03739e3357516490e265261c5f815f (diff) |
avoid using time_get_seconds
because it makes a syscall
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 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; } |