changeset 6851:812c4260e98c

[Accessibility] Fix usage of va_list after accidentally broken by 6814:0bd76d001286 ([Accessibility] Improving handling of exceptions in GlassAccessible.cpp)
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Tue, 22 Apr 2014 09:36:36 -0700
parents 6e1b3bc76a68
children aae9bf983254
files modules/graphics/src/main/native-glass/win/GlassAccessible.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-glass/win/GlassAccessible.cpp	Tue Apr 22 17:09:37 2014 +0300
+++ b/modules/graphics/src/main/native-glass/win/GlassAccessible.cpp	Tue Apr 22 09:36:36 2014 -0700
@@ -221,7 +221,7 @@
 HRESULT GlassAccessible::callLongMethod(jmethodID mid,  IUnknown **pRetVal, ...)
 {
     va_list vl;
-    va_start(vl, mid);
+    va_start(vl, pRetVal);
     JNIEnv* env = GetEnv();
     jlong ptr = env->CallLongMethodV(m_jAccessible, mid, vl);
     va_end(vl);