From 43e78674c793f88c07d2890f5d60e0c359f1a352 Mon Sep 17 00:00:00 2001 From: Theo Linkspfeifer Date: Fri, 26 Apr 2019 22:24:04 +0200 Subject: [PATCH 1/1] Fix gravity of selection end mark (Bug #10986) --- mousepad/mousepad-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mousepad/mousepad-util.c b/mousepad/mousepad-util.c index b7c4dc9..350ee64 100644 --- a/mousepad/mousepad-util.c +++ b/mousepad/mousepad-util.c @@ -923,7 +923,7 @@ mousepad_util_search (GtkTextBuffer *buffer, /* store the initial iters in marks */ mark_start = gtk_text_buffer_create_mark (buffer, NULL, &start, TRUE); mark_iter = gtk_text_buffer_create_mark (buffer, NULL, &iter, TRUE); - mark_end = gtk_text_buffer_create_mark (buffer, NULL, &end, TRUE); + mark_end = gtk_text_buffer_create_mark (buffer, NULL, &end, FALSE); /* some to make the code easier to read */ search_backwards = ((flags & MOUSEPAD_SEARCH_FLAGS_DIR_BACKWARD) != 0); -- 2.20.1