changeset 2004:52eee2ca6d37

Fix minor logic bug in earlier commit.
author Deepak Bhole <dbhole@redhat.com>
date Wed, 26 Aug 2009 01:14:21 -0400
parents fbdb1c1ba782
children 518cf0feb646
files ChangeLog plugin/icedtea/sun/applet/PluginAppletViewer.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Aug 25 10:38:03 2009 -0400
+++ b/ChangeLog	Wed Aug 26 01:14:21 2009 -0400
@@ -1,3 +1,8 @@
+2009-08-26  Deepak Bhole <dbhole@redhat.com>
+
+	* plugin/icedtea/sun/applet/PluginAppletViewer.java
+	(handleMessage): Fix logic bug introduced in previous commit.
+
 2009-08-25  Deepak Bhole <dbhole@redhat.com>
 
 	* plugin/icedtea/sun/applet/PluginAppletViewer.java
--- a/plugin/icedtea/sun/applet/PluginAppletViewer.java	Tue Aug 25 10:38:03 2009 -0400
+++ b/plugin/icedtea/sun/applet/PluginAppletViewer.java	Wed Aug 26 01:14:21 2009 -0400
@@ -589,7 +589,7 @@
 
              // Wait for the panel to initialize
              // (happens in a separate thread)
-             while (panel == null || (o = panel.getApplet()) == null && ((NetxPanel) panel).isAlive()) {
+             while (panel == null || ((o = panel.getApplet()) == null && ((NetxPanel) panel).isAlive())) {
             	 try {
             		 Thread.sleep(2000);
             		 PluginDebug.debug("Waiting for applet to initialize...");