Correct assertion message, as requested by bz

This commit is contained in:
mhammond%skippinet.com.au 2006-08-06 09:31:14 +00:00
Родитель 9f72d8ece4
Коммит 2dafb0668f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3111,7 +3111,7 @@ nsJSContext::HoldScriptObject(void* aScriptObject)
{
NS_ASSERTION(sIsInitialized, "runtime not initialized");
if (! nsJSRuntime::sRuntime) {
NS_NOTREACHED("couldn't remove GC root - no runtime");
NS_NOTREACHED("couldn't add GC root - no runtime");
return NS_ERROR_FAILURE;
}