minor bugfixing
git-svn-id: svn://10.0.0.236/trunk@42992 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f37e17b7f0
commit
d57caf0d27
@ -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)
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user