more bustage fixed. help from scc.

This commit is contained in:
sspitzer%netscape.com 2000-04-28 04:04:56 +00:00
Родитель 8085f91d90
Коммит 005153e131
1 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -331,11 +331,11 @@ PRBool OESettings::DoIMAPServer( nsIMsgAccountManager *pMgr, HKEY hKey, char *pS
BYTE *pAccName = nsOERegUtil::GetValueBytes( hKey, "Account Name");
nsString prettyName;
if (pAccName) {
prettyName = (const char *)pAccName;
prettyName.AssignWithConversion((const char *)pAccName);
nsOERegUtil::FreeValueBytes( pAccName);
}
else
prettyName = (const char *)pServerName;
prettyName.AssignWithConversion((const char *)pServerName);
PRUnichar *pretty = prettyName.ToNewUnicode();
@ -396,11 +396,11 @@ PRBool OESettings::DoPOP3Server( nsIMsgAccountManager *pMgr, HKEY hKey, char *pS
BYTE *pAccName = nsOERegUtil::GetValueBytes( hKey, "Account Name");
nsString prettyName;
if (pAccName) {
prettyName = (const char *)pAccName;
prettyName.AssignWithConversion((const char *)pAccName);
nsOERegUtil::FreeValueBytes( pAccName);
}
else
prettyName = (const char *)pServerName;
prettyName.AssignWithConversion((const char *)pServerName);
PRUnichar *pretty = prettyName.ToNewUnicode();
@ -495,7 +495,8 @@ void OESettings::SetIdentities( nsIMsgAccountManager *pMgr, nsIMsgAccount *pAcc,
nsCOMPtr<nsIMsgIdentity> id;
rv = pMgr->CreateIdentity( getter_AddRefs( id));
if (id) {
nsString fullName = pName;
nsString fullName;
fullName.AssignWithConversion(pName);
id->SetFullName( fullName.GetUnicode());
id->SetIdentityName( fullName.GetUnicode());
id->SetEmail( pEmail);