diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-28 21:46:18 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-28 21:46:18 -0500 |
commit | 9d9993607c9093bd59a02138f5e51f1c678e17e9 (patch) | |
tree | b26210dc32e96409e029488ad62309699919a5bf /main.c | |
parent | d00c3247691c2f30214bcfeffb1830d725a173b9 (diff) |
fix find highlighting when cursor is on same line
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) { |