8177137: 8175293 breaks Windows build on Vs2010
authorstuefe
Sat, 25 Mar 2017 18:57:37 +0300
changeset 44649 e277d439a406
parent 44648 4e8ca3dd2540
child 44650 4faa216d993f
8177137: 8175293 breaks Windows build on Vs2010 Reviewed-by: serb, alexsch
jdk/src/java.desktop/windows/native/libawt/windows/awt_Window.cpp
--- a/jdk/src/java.desktop/windows/native/libawt/windows/awt_Window.cpp	Fri Mar 24 09:01:08 2017 -0700
+++ b/jdk/src/java.desktop/windows/native/libawt/windows/awt_Window.cpp	Sat Mar 25 18:57:37 2017 +0300
@@ -239,7 +239,9 @@
 
     fullScreenExclusiveModeState = FALSE;
     m_winSizeMove = FALSE;
-    prevScaleRec = { -1, -1, -1 };
+    prevScaleRec.screen = -1;
+    prevScaleRec.scaleX = -1.0f;
+    prevScaleRec.scaleY = -1.0f;
 }
 
 AwtWindow::~AwtWindow()