From 04317cfec0630e0615c07477b954c224c07f68c6 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Wed, 3 Jun 2009 09:06:23 +0200 Subject: [PATCH] Fix compiler warning --- ChangeLog | 19 +++++++++++++++++++ pattern.c | 5 ++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ab8dc8c71..2478a6ea8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2009-06-02 20:25 +0200 Miroslav Lichvar (d1d0481d1ca1) + + * mutt_ssl_gnutls.c: Add support for GNUTLS_CERT_INSECURE_ALGORITHM + error code + +2009-06-02 20:11 +0200 Miroslav Lichvar (0b13183e40e0) + + * mutt_ssl_gnutls.c: Don't ignore certificate verification errors on + saved signer certs + +2009-06-02 10:18 -0700 René Clerc (761bc678b23e) + + * po/nl.po: Updated Dutch translation. + +2009-06-02 17:24 +0200 Rocco Rutte (8b2af5b64981) + + * ChangeLog, buffy.c: Fix duplicate mailbox detection for remote + folders + 2009-06-02 17:05 +0200 Rocco Rutte (9ca14dff45c5) * smtp.c: Fix array size diff --git a/pattern.c b/pattern.c index 5581fb673..489a1d035 100644 --- a/pattern.c +++ b/pattern.c @@ -1401,10 +1401,9 @@ int mutt_search_command (int cur, int op) progress_t progress; const char* msg = NULL; - if (!(LastSearch && *LastSearch) || - (op != OP_SEARCH_NEXT && op != OP_SEARCH_OPPOSITE)) + if (!*LastSearch || (op != OP_SEARCH_NEXT && op != OP_SEARCH_OPPOSITE)) { - strfcpy (buf, LastSearch && *LastSearch ? LastSearch : "", sizeof (buf)); + strfcpy (buf, *LastSearch ? LastSearch : "", sizeof (buf)); if (mutt_get_field ((op == OP_SEARCH || op == OP_SEARCH_NEXT) ? _("Search for: ") : _("Reverse search for: "), buf, sizeof (buf), -- 2.40.0