mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
Changed to remove tabs from subject strings before adding to thread pane, bug 38192, r=putterman.
This commit is contained in:
parent
235aa84fba
commit
1a3925bde4
@ -1190,6 +1190,12 @@ nsMsgMessageDataSource::createMessageNameNode(nsIMessage *message,
|
||||
rv = message->GetMime2DecodedSubject(getter_Copies(subject));
|
||||
if(NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
// strip out tabs from subject
|
||||
nsAutoString tempStr(subject);
|
||||
tempStr.StripChar((PRUnichar)'\t');
|
||||
*((PRUnichar **)getter_Copies(subject)) = nsXPIDLString::Copy(tempStr.GetUnicode());
|
||||
|
||||
PRUint32 flags;
|
||||
rv = message->GetFlags(&flags);
|
||||
if(NS_SUCCEEDED(rv) && (flags & MSG_FLAG_HAS_RE))
|
||||
|
Loading…
Reference in New Issue
Block a user