clear old color flags first when applying a new color to a message info. (spotted by Lo'oRiS il Kabukimono <lo_oris@libero.it>)

This commit is contained in:
Alfons Hoogervorst 2002-02-24 14:33:24 +00:00
parent 4a0e21ab4f
commit a2ecec8c42
3 changed files with 9 additions and 1 deletions

View 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

View 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

View 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;