Fix for bug 77598: Company Identifier (UA String) field too narrow (r=tao)

git-svn-id: svn://10.0.0.236/trunk@99683 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shrutiv%netscape.com 2001-07-21 00:31:17 +00:00
parent 18ca43274d
commit b6549c8237

View File

@ -942,8 +942,8 @@ int StartIB(CString parms, WIDGET *curWidget)
CString userAgent = GetGlobal("OrganizationName");
if (userAgent)
{
CString templeft = userAgent.Left(5);
if ((templeft.CompareNoCase("CCK -")) != 0)
CString templeft = userAgent.Left(3);
if ((templeft.CompareNoCase("CK-")) != 0)
userAgent = "CK-" + userAgent;
}
SetGlobal("OrganizationName",userAgent);