зеркало из https://github.com/mozilla/pjs.git
Add a printf to the failure case. Trivial change, and no one but me is running this anyway.
This commit is contained in:
Родитель
bb2c3ad599
Коммит
2482da52fd
|
@ -74,7 +74,12 @@ Compare(nsString& str, nsString& aFileName)
|
|||
if (str == inString)
|
||||
return 0;
|
||||
else
|
||||
{
|
||||
char* cstr = str.ToNewCString();
|
||||
printf("Comparison failed:\n-----\n%s\n-----\n", cstr);
|
||||
Recycle(cstr);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
@ -74,7 +74,12 @@ Compare(nsString& str, nsString& aFileName)
|
|||
if (str == inString)
|
||||
return 0;
|
||||
else
|
||||
{
|
||||
char* cstr = str.ToNewCString();
|
||||
printf("Comparison failed:\n-----\n%s\n-----\n", cstr);
|
||||
Recycle(cstr);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче