Skip to content

Commit 80603ee

Browse files
author
clay_shooter
committed
Added comment lines from original patch submission. no code changes
1 parent 5dabfa0 commit 80603ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jacob/jni/Dispatch.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,8 @@ JNIEXPORT jobject JNICALL Java_com_jacob_com_Dispatch_invokev
535535
buf = CreateErrorMsgFromInfo(hr, &excepInfo, nm);
536536
env->ReleaseStringUTFChars(name, nm);
537537
} else {
538+
//the dispid was passed in not the name.
539+
//make space for the id string
538540
dispIdAsName = new char[256];
539541
// get the id string
540542
_itoa_s (dispID, dispIdAsName, 256,10);

0 commit comments

Comments
 (0)