summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Barnes <krbarnes>2009-09-09 19:55:50 +0000
committerKevin Barnes <krbarnes>2009-09-09 19:55:50 +0000
commitdbc274589ccc02c2f88857582768ec45f5dfc063 (patch)
treebbea75dd877045b5c5e2fc0b67aed057ccf45fdd
parentca5b7251047b6e6ba328f4c0fb3475bde527088e (diff)
downloadeclipse.platform.swt-dbc274589ccc02c2f88857582768ec45f5dfc063.tar.gz
eclipse.platform.swt-dbc274589ccc02c2f88857582768ec45f5dfc063.tar.xz
eclipse.platform.swt-dbc274589ccc02c2f88857582768ec45f5dfc063.zip
262985 - Scrollbar dancing in DebugView
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/library/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.c b/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.c
index 25e66053d2..de5b5c489d 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.c
@@ -666,7 +666,7 @@ jintLong callback(int index, ...)
#ifdef JNI_VERSION_1_4
if (env == NULL) {
- if (JNI_VERSION == JNI_VERSION_1_4) {
+ if (JNI_VERSION >= JNI_VERSION_1_4) {
(*jvm)->AttachCurrentThreadAsDaemon(jvm, (void **)&env, NULL);
}
}