clear old color flags first when applying a new color to a message info. (spotted...
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 24 Feb 2002 14:33:24 +0000 (14:33 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 24 Feb 2002 14:33:24 +0000 (14:33 +0000)
ChangeLog.claws
configure.in
src/filtering.c

index 76fdd232770a089066358f658c83ad5c22151f63..6955b6fe5be2a04d4b820cb7b533bc9b457e7338 100644 (file)
@@ -1,3 +1,10 @@
+2002-02-24 [alfons]    0.7.2claws12
+
+       * src/filtering.c
+               clear old color flags first when applying a new color to
+               a message info. 
+               (spotted by Lo'oRiS il Kabukimono <lo_oris@libero.it>)
+
 2002-02-24 [alfons]    0.7.2.claws11
        
        * AUTHORS
index 29b132aa6cd1e8852d55ff6cce0b302559658235..3fe167f1563df66ac6644db8439cf82b129dad36 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws11
+EXTRA_VERSION=claws12
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index b30b930c6a0c9016a87d5fb8b7bd1e31badf9626..ad1c156b5ab35b2ae677251a283c905f04b1b708 100644 (file)
@@ -189,6 +189,7 @@ static gboolean filteringaction_apply(FilteringAction * action, MsgInfo * info,
                return TRUE;
        
        case MATCHACTION_COLOR:
+               MSG_UNSET_PERM_FLAGS(info->flags, MSG_CLABEL_FLAG_MASK); 
                MSG_SET_COLORLABEL_VALUE(info->flags, action->labelcolor);
                return TRUE;