aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/jawt_misc.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-02-23 05:08:10 +0000
committerSven Gothel <[email protected]>2001-02-23 05:08:10 +0000
commit82cd20ed209f12e22e2f5a92719b3be2bb92d8ed (patch)
tree6db7f6e46a2195c49bd20e4c6b42c9b206a920fb /CNativeCode/jawt_misc.c
parent70be669b0db3713117982dbeeadbb91ed670e901 (diff)
Version 2.6.0.0
Diffstat (limited to 'CNativeCode/jawt_misc.c')
-rw-r--r--CNativeCode/jawt_misc.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/CNativeCode/jawt_misc.c b/CNativeCode/jawt_misc.c
index 4696773..d884406 100644
--- a/CNativeCode/jawt_misc.c
+++ b/CNativeCode/jawt_misc.c
@@ -338,12 +338,12 @@ jawt_unlock (JNIEnv *env, JAWTDataHolder *pJData, jboolean verbose)
}
pJData->dsi=0;
- // Unlock the drawing surface
- if ( (pJData->lock & JAWT_LOCK_ERROR) == 0 )
+ // Unlock the drawing surface
+ if ( (pJData->lock & JAWT_LOCK_ERROR) == 0 )
{
pJData->ds->Unlock(pJData->ds);
exc = (*env)->ExceptionOccurred(env);
- if(exc)
+ if(exc)
{
if(verbose)
{
@@ -355,11 +355,9 @@ jawt_unlock (JNIEnv *env, JAWTDataHolder *pJData, jboolean verbose)
(*env)->ExceptionDescribe(env);
(*env)->ExceptionClear(env);
return pJData->result;
- }
- pJData->lock = 0;
+ }
+ pJData->lock = 0;
}
return JNI_TRUE;
}
-
-