minor bug fix

git-svn-id: svn://10.0.0.236/trunk@45617 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akhil.arora%sun.com
1999-09-02 01:40:15 +00:00
parent 3659e227f0
commit 25f119920c

View File

@@ -360,7 +360,7 @@ JNIEXPORT void JNICALL Java_org_mozilla_dom_ElementImpl_setAttribute
jboolean iscopy2 = JNI_FALSE;
const char* value = env->GetStringUTFChars(jvalue, &iscopy2);
if (!name) {
if (!value) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Element.setAttribute: GetStringUTFChars value failed\n"));
return;