Bug 368370: "uncolored" tags inherit colors from other tags; r/sr=bienvenu

git-svn-id: svn://10.0.0.236/trunk@220511 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mnyromyr%tprac.de 2007-02-18 12:33:43 +00:00
parent 400c8c7396
commit f38eb88b8a

View File

@ -403,9 +403,8 @@ NS_IMETHODIMP nsMsgTagService::GetAllTags(PRUint32 *aCount, nsIMsgTag ***aTagArr
if (NS_SUCCEEDED(rv))
{
// .color MAY exist
rv = GetColorForKey(key, color);
if (NS_FAILED(rv))
color.Truncate();
color.Truncate();
GetColorForKey(key, color);
// .ordinal MAY exist
rv = GetOrdinalForKey(key, ordinal);
if (NS_FAILED(rv))