[vte/vte-0-44] terminal: Fix search return value



commit c9fc1f16d4acd721b6b0754dd75067893541898b
Author: Alexander Maznev <alexander maznev gmail com>
Date:   Sun May 8 10:22:07 2016 +0200

    terminal: Fix search return value
    
    vte_terminal_search_find was always returning FALSE.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765328
    (cherry picked from commit 2b05a52f318f3f9b10ef3784a18e69ba4f04d79e)

 src/vte.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index d8f27cc..8f7a18b 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -11209,7 +11209,7 @@ VteTerminalPrivate::search_find (bool backward)
 {
         vte::grid::row_t buffer_start_row, buffer_end_row;
         vte::grid::row_t last_start_row, last_end_row;
-        bool match_found = false;
+        bool match_found = true;
 #ifdef WITH_PCRE2
         pcre2_match_context_8 *match_context = nullptr;
         pcre2_match_data_8 *match_data = nullptr;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]