mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix ClearFlag method, r=sspitzer
This commit is contained in:
parent
3033e31151
commit
131e6a9085
@ -1438,7 +1438,7 @@ NS_IMETHODIMP nsMsgFolder::ClearFlag(PRUint32 flag)
|
||||
if(!NS_SUCCEEDED(rv = GetFlag(flag, &flagSet)))
|
||||
return rv;
|
||||
|
||||
if (!flagSet)
|
||||
if (flagSet)
|
||||
{
|
||||
mFlags &= ~flag;
|
||||
OnFlagChange (flag);
|
||||
|
Loading…
Reference in New Issue
Block a user