minor bug fix
git-svn-id: svn://10.0.0.236/trunk@45617 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user