< prev index next >

src/java.desktop/unix/native/libawt_xawt/awt/sun_awt_X11_GtkFileDialogPeer.c

Print this page

        

@@ -78,11 +78,11 @@
 }
 
 static void quit(JNIEnv * env, jobject jpeer, gboolean isSignalHandler)
 {
     jthrowable pendingException;
-    if (pendingException = (*env)->ExceptionOccurred(env)) {
+    if ((pendingException = (*env)->ExceptionOccurred(env))) {
          (*env)->ExceptionClear(env);
     }
 
     GtkWidget * dialog = (GtkWidget*)jlong_to_ptr(
             (*env)->GetLongField(env, jpeer, widgetFieldID));
< prev index next >