diff --git a/modules/juce_core/native/juce_linux_SystemStats.cpp b/modules/juce_core/native/juce_linux_SystemStats.cpp index b4245630ef..3b2a2240e0 100644 --- a/modules/juce_core/native/juce_linux_SystemStats.cpp +++ b/modules/juce_core/native/juce_linux_SystemStats.cpp @@ -158,8 +158,8 @@ void CPUInformation::initialise() noexcept // Assume CPUs in all sockets have the same number of cores numPhysicalCPUs = getCpuInfo ("cpu cores").getIntValue() * (getCpuInfo ("physical id").getIntValue() + 1); - if (numPhysicalCpus <= 0) - numPhysicalCpus = numLogicalCPUs; + if (numPhysicalCPUs <= 0) + numPhysicalCPUs = numLogicalCPUs; } //==============================================================================