Browse Source

Windows: Fix missing field initialiser

v6.1.6
reuk 4 years ago
parent
commit
2c90261bd4
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 1
- 1
modules/juce_gui_basics/native/juce_win32_Windowing.cpp View File

@@ -758,7 +758,7 @@ public:
private: private:
static bool isHighContrast() static bool isHighContrast()
{ {
HIGHCONTRASTW highContrast { 0 };
HIGHCONTRASTW highContrast {};
if (SystemParametersInfoW (SPI_GETHIGHCONTRAST, sizeof (highContrast), &highContrast, false)) if (SystemParametersInfoW (SPI_GETHIGHCONTRAST, sizeof (highContrast), &highContrast, false))
return highContrast.dwFlags & HCF_HIGHCONTRASTON; return highContrast.dwFlags & HCF_HIGHCONTRASTON;


Loading…
Cancel
Save