From f6873c2273708fb6164edf73125705cce65ab79d Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 13 Mar 2017 12:10:47 +0000 Subject: [PATCH] (Fixed a typo in linux code in the last commit) --- modules/juce_core/native/juce_linux_SystemStats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } //==============================================================================