diff --git a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp index 93ea916923..a849a6f228 100644 --- a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp @@ -584,7 +584,7 @@ public: h + windowBorder.getTopAndBottom(), SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOOWNERZORDER); - if (isValidPeer (this) + if (isValidPeer (this)) { updateBorderSize(); repaintNowIfTransparent(); @@ -603,7 +603,7 @@ public: h + windowBorder.getTopAndBottom(), SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER); - if (isValidPeer (this) + if (isValidPeer (this)) { updateBorderSize(); repaintNowIfTransparent();