< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Window.cpp

Print this page
rev 16856 : 8177137: 8175293 breaks Windows build on Vs2010
Reviewed-by:

@@ -237,11 +237,13 @@
     m_windowType = NORMAL;
     m_alwaysOnTop = false;
 
     fullScreenExclusiveModeState = FALSE;
     m_winSizeMove = FALSE;
-    prevScaleRec = { -1, -1, -1 };
+    prevScaleRec.screen = -1;
+    prevScaleRec.scaleX = -1.0f;
+    prevScaleRec.scaleY = -1.0f;
 }
 
 AwtWindow::~AwtWindow()
 {
     if (warningString != NULL) {
< prev index next >