summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-28 21:46:18 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-28 21:46:18 -0500
commit9d9993607c9093bd59a02138f5e51f1c678e17e9 (patch)
treeb26210dc32e96409e029488ad62309699919a5bf /main.c
parentd00c3247691c2f30214bcfeffb1830d725a173b9 (diff)
fix find highlighting when cursor is on same line
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 2 insertions, 4 deletions
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) {