Revert "Fix CID 1491382: malloc size too short by one because, worst case, qp_decode_...
[claws.git] / src / gtk / quicksearch.c
index 7c0bb8c9fcc8373b80da5571cbf2580a328b2c61..6ba9242038b081c9034848f70be61723be803612 100644 (file)
@@ -356,11 +356,6 @@ static gboolean searchbar_pressed(GtkWidget *widget, GdkEventKey *event,
        if (event != NULL && (event->keyval == GDK_KEY_Escape)) {
                gchar *str;
 
-               if (quicksearch->running) {
-                       advsearch_abort(quicksearch->asearch);
-                       return TRUE;
-               }
-
                quicksearch->in_typing = FALSE;
 
                str = quicksearch_get_text(quicksearch);
@@ -408,7 +403,7 @@ static gboolean searchbar_pressed(GtkWidget *widget, GdkEventKey *event,
  *
  * When adding new lines, remember to put 2 strings for each line
  */
-gchar *extended_search_descr_strings[] = {
+static gchar *search_descr_strings[] = {
        "a",     N_("all messages"),
        "ag #",  N_("messages whose age is greater than # days"),
        "al #",  N_("messages whose age is less than # days"),
@@ -476,7 +471,7 @@ static DescriptionWindow search_descr = {
        N_("Extended Search allows the user to define criteria that messages must "
            "have in order to match and be displayed in the message list.\n"
           "The following symbols can be used:"),
-       extended_search_descr_strings
+       search_descr_strings
 };
 
 static void search_description_cb(GtkWidget *widget)