From 9d9993607c9093bd59a02138f5e51f1c678e17e9 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 28 Feb 2021 21:46:18 -0500 Subject: fix find highlighting when cursor is on same line --- main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index d954128..1f70602 100644 --- a/main.c +++ b/main.c @@ -1,8 +1,6 @@ // @TODO: -// - refresh find results by pressing Enter in find/replace buffer - -// - Windows installation // - on crash, output backtrace to log +// - Windows installation // - restore previously opened files (setting: restore-session) // - completion @@ -649,7 +647,7 @@ int main(int argc, char **argv) { if (ted->find) { float y2 = y; y -= find_menu_height(ted); - find_menu_frame(ted, x1, y, x2, y2); + find_menu_frame(ted, rect4(x1, y, x2, y2)); y -= padding; } if (ted->build_shown) { -- cgit v1.2.3