This commit is contained in:
shaver%netscape.com 1998-08-27 00:17:40 +00:00
Родитель ee752ab916
Коммит cc4e42f76a
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -172,7 +172,7 @@ PR_BEGIN_MACRO \
if (node->prev_sibling) \ if (node->prev_sibling) \
node->prev_sibling->sibling = node->sibling; \ node->prev_sibling->sibling = node->sibling; \
if (node->sibling) \ if (node->sibling) \
node->sibling->prev_sibling = newNode->prev_sibling; \ node->sibling->prev_sibling = node->prev_sibling; \
node->sibling = node->prev_sibling = node->parent = NULL; \ node->sibling = node->prev_sibling = node->parent = NULL; \
PR_END_MACRO PR_END_MACRO
@ -257,7 +257,7 @@ node_removeChild(JSContext *cx, JSObject *obj, uintN argc, jsval *argv,
jsval *vp) jsval *vp)
{ {
JSObject *deadChild; JSObject *deadChild;
DOM_Node *deadNode, *iter, *node; DOM_Node *deadNode, *node;
if (!JS_ConvertArguments(cx, argc, argv, "o", &deadChild)) if (!JS_ConvertArguments(cx, argc, argv, "o", &deadChild))
return JS_FALSE; return JS_FALSE;