[Commits] [SCM] claws branch, master, updated. 3.10.1-76-g93ffffa

Colin colin at claws-mail.org
Tue Jun 17 22:29:39 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  93ffffab990f8e21541ac13aec7e58a1b44b27b8 (commit)
      from  4dbe7a8759f8928986bd00a0ea635c5c18954651 (commit)

Summary of changes:
 src/addr_compl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 93ffffab990f8e21541ac13aec7e58a1b44b27b8
Author: Colin Leroy <colin at colino.net>
Date:   Tue Jun 17 22:29:08 2014 +0200

    Fix obvious mistake, thanks Michael (bug #3215)

diff --git a/src/addr_compl.c b/src/addr_compl.c
index 21348ab..c6a1795 100644
--- a/src/addr_compl.c
+++ b/src/addr_compl.c
@@ -205,7 +205,7 @@ static gint weight_addr_match(const address_entry* addr)
 			else
 				a_weight = match - addr->address;
 
-			if (strlen(match) < strlen(g_completion_prefix)
+			if (strlen(match) > strlen(g_completion_prefix)
 			 && *(match + strlen(g_completion_prefix)) == '@')
 				a_weight--;
 		}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list