summaryrefslogtreecommitdiff
path: root/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'find.c')
-rw-r--r--find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/find.c b/find.c
index 92015bc..8cf2e04 100644
--- a/find.c
+++ b/find.c
@@ -568,7 +568,7 @@ static void find_edit_notify(void *context, TextBuffer *buffer, const EditInfo *
find_research_lines(ted, line, line);
}
- } else if (buffer == ted->line_buffer) {
+ } else if (buffer == ted->find_buffer) {
find_redo_search(ted);
buffer_scroll_to_cursor(buffer);
}