зеркало из https://github.com/mozilla/pjs.git
fix logging problem, using Append instead of SetCharAt, which doesn't work
for empty str.
This commit is contained in:
Родитель
2916c01b98
Коммит
5f2876e79a
|
@ -109,7 +109,7 @@ nsLoggingProgressNotifier::InstallStarted(const PRUnichar *URL, const PRUnichar*
|
|||
nsCString uline;
|
||||
uline.SetCapacity(name.Length());
|
||||
for ( int i=0; i < name.Length(); ++i)
|
||||
uline.SetCharAt('-', i);
|
||||
uline.Append('-');
|
||||
|
||||
*mLogStream << " " << name.GetBuffer() << nsEndl;
|
||||
*mLogStream << " " << uline.GetBuffer() << nsEndl;
|
||||
|
|
Загрузка…
Ссылка в новой задаче