diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-28 21:31:49 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-28 21:31:49 -0500 |
commit | d00c3247691c2f30214bcfeffb1830d725a173b9 (patch) | |
tree | 0975ef99b6baac4c41da79af4bc679c0c939ab53 /main.c | |
parent | 410b9b764c4a6c81a3573cf7ca23330d43931829 (diff) |
find bugfixes (switch to another buffer after find)
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,7 +1,4 @@ // @TODO: -// - fix: -// ctrl+f something, then switch to another tab (hl rects still showing up) -// ctrl+f something, then change buffer (e.g. make sure replace doesn't do something bad) // - refresh find results by pressing Enter in find/replace buffer // - Windows installation @@ -645,7 +642,7 @@ int main(int argc, char **argv) { strcpy(ted->window_title, "ted"); - if (ted_anything_open(ted)) { + if (ted->nodes_used[0]) { float const padding = settings->padding; float x1 = padding, y = window_height-padding, x2 = window_width-padding; Node *node = &ted->nodes[0]; |