Thunderbird:CodeCleanup: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 20: Line 20:
Good:
Good:
   CopyASCIItoUTF16(realName, fullName);
   CopyASCIItoUTF16(realName, fullName);
Bad:
  nsCString cstr;
  nsString  uniStr;
  cstr.AssignWithConversion(uniStr);
Good:
  LossyCopyUTF16toASCII(uniStr, cstr);


Bad:
Bad:
272

edits

Navigation menu