Index: /FCKeditor/branches/features/floating_dialog/editor/_source/internals/fck.js
===================================================================
--- /FCKeditor/branches/features/floating_dialog/editor/_source/internals/fck.js	(revision 1072)
+++ /FCKeditor/branches/features/floating_dialog/editor/_source/internals/fck.js	(revision 1073)
@@ -771,5 +771,5 @@
 			var frameWidth = editorFrame.offsetWidth ;
 			var frameHeight = editorFrame.offsetHeight ;
-			if ( this.Commands.GetCommand( 'FitWindow' ).GetState() == FCK_TRISTATE_OFF )
+			if ( this.Commands.GetCommand( 'FitWindow' ).GetState() != FCK_TRISTATE_ON )
 			{
 				FCKDomTools.SetElementStyles( editorFrame,
