From 56a22f2937c334320637557ef6cd9b38c4b03022 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 17 Jun 2014 01:15:13 +0200 Subject: Minor edits: space, final qualifier; setenv-build-*: Add generic JDK location --- src/native/common/JVMUtil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/native/common') diff --git a/src/native/common/JVMUtil.c b/src/native/common/JVMUtil.c index 28ef209..6df2aff 100644 --- a/src/native/common/JVMUtil.c +++ b/src/native/common/JVMUtil.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. + * Copyright (c) 2014 JogAmp Community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -48,6 +49,6 @@ Java_jogamp_common_jvm_JVMUtil_initialize(JNIEnv *env, jclass _unused, jobject n if (nioBuffer != NULL) { ptr = (void *) (*env)->GetDirectBufferAddress(env, nioBuffer); } - return ( NULL==ptr ) ? JNI_FALSE : JNI_TRUE ; + return NULL != ptr ? JNI_TRUE : JNI_FALSE; } -- cgit v1.2.3