Andreas Krennmair:
authorak1 <ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 19 Oct 2005 07:09:02 +0000 (07:09 +0000)
committerak1 <ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 19 Oct 2005 07:09:02 +0000 (07:09 +0000)
tuned scoring functionality of mutt-ng to make it more usable.

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@553 e385b8ad-14ed-0310-8656-cc95a2468c6d

VERSION.svn
score.c

index 0eedeef..68d5f38 100644 (file)
@@ -1 +1 @@
-551
+553
diff --git a/score.c b/score.c
index 4bc13e6..5d401dc 100644 (file)
--- a/score.c
+++ b/score.c
@@ -110,7 +110,7 @@ void mutt_score_message (CONTEXT * ctx, HEADER * hdr, int upd_ctx)
 
   hdr->score = 0;               /* in case of re-scoring */
   for (tmp = Score; tmp; tmp = tmp->next) {
-    if (mutt_pattern_exec (tmp->pat, 0, NULL, hdr) > 0) {
+    if (mutt_pattern_exec (tmp->pat, M_MATCH_FULL_ADDRESS, NULL, hdr) > 0) {
       if (tmp->exact || tmp->val == 9999 || tmp->val == -9999) {
         hdr->score = tmp->val;
         break;