From f666ea48edd799bf3d72384e4c178e74aae72cc7 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 19 Mar 2022 10:11:40 +0100 Subject: [PATCH] [link] removed commented code --- src/viewer/text/link.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/viewer/text/link.c b/src/viewer/text/link.c index 4d578f97..b71ece1e 100644 --- a/src/viewer/text/link.c +++ b/src/viewer/text/link.c @@ -337,7 +337,6 @@ highlight_links_with_prefixes_that_start_with_n(struct terminal *term, struct document_view *doc_view, int n) { -// struct color_pair *color = get_bfu_color(term, "searched"); unsigned int node_number = get_bfu_color_node(term, "searched"); int xoffset = doc_view->box.x - doc_view->vs->x; int yoffset = doc_view->box.y - doc_view->vs->y; @@ -358,7 +357,6 @@ highlight_links_with_prefixes_that_start_with_n(struct terminal *term, int y = link->points[i].y + yoffset; if (is_in_box(&doc_view->box, x, y)) { -// draw_char_color(term, x, y, color); draw_char_color_node(term, x, y, node_number); } }