minor bugfixing

git-svn-id: svn://10.0.0.236/trunk@42992 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dveditz%netscape.com 1999-08-10 18:47:24 +00:00
parent f37e17b7f0
commit d57caf0d27
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ InstallTriggerGlobalCompareVersion(JSContext *cx, JSObject *obj, uintN argc, jsv
// get the registry name argument
ConvertJSValToStr(regname, cx, argv[0]);
if (argc = 2 )
if (argc == 2 )
{
// public int CompareVersion(String registryName, String version)
// --OR-- CompareVersion(String registryNamve, InstallVersion version)

View File

@ -108,7 +108,7 @@ nsLoggingProgressNotifier::InstallStarted(const PRUnichar *URL, const PRUnichar*
nsString name(UIPackageName,eOneByte);
nsString uline(eOneByte);
uline.SetCapacity(name.Length());
for ( int i=0; i < uline.Length(); ++i)
for ( int i=0; i < name.Length(); ++i)
uline.SetCharAt('-', i);
*mLogStream << " " << name.GetBuffer() << nsEndl;