< prev index next >

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

Print this page
rev 16966 : 8178911: Building of awt_Window.cpp fails on Windows with VS2010

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