Use localizable error message for out of memory.

This commit is contained in:
brendan%mozilla.org 2000-06-06 04:54:04 +00:00
Родитель 254d95a427
Коммит 71d336d3a2
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -3058,7 +3058,7 @@ JS_ReportErrorFlagsAndNumberUC(JSContext *cx, uintN flags,
JS_PUBLIC_API(void)
JS_ReportOutOfMemory(JSContext *cx)
{
JS_ReportError(cx, "out of memory");
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL, JSMSG_OUT_OF_MEMORY);
}
JS_PUBLIC_API(JSErrorReporter)