# HG changeset patch # User stuefe # Date 1490457457 -10800 # Node ID e277d439a406bd02ced5e66700f47f00404b437f # Parent 4e8ca3dd2540392f97860804a15e529bc1da72cf 8177137: 8175293 breaks Windows build on Vs2010 Reviewed-by: serb, alexsch diff -r 4e8ca3dd2540 -r e277d439a406 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()