Browse Source

SystemStats: Return just "Windows" or "MacOSX" when operating system version is unknown

v7.0.9
reuk 3 years ago
parent
commit
83cd6dfc80
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/juce_core/native/juce_mac_SystemStats.mm
  2. +1
    -1
      modules/juce_core/native/juce_win32_SystemStats.cpp

+ 1
- 1
modules/juce_core/native/juce_mac_SystemStats.mm View File

@@ -138,7 +138,7 @@ SystemStats::OperatingSystemType SystemStats::getOperatingSystemType()
case 13: return MacOS_13;
}
return UnknownOS;
return MacOSX;
#endif
}


+ 1
- 1
modules/juce_core/native/juce_win32_SystemStats.cpp View File

@@ -314,7 +314,7 @@ SystemStats::OperatingSystemType SystemStats::getOperatingSystemType()
if (major == 5 && minor == 0) return Win2000;
jassertfalse;
return UnknownOS;
return Windows;
}
String SystemStats::getOperatingSystemName()


Loading…
Cancel
Save