From 852e81f6cb776ebcca932fa328e45d583dd5e29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 6 Oct 2009 12:27:19 +0000 Subject: [PATCH] Come to think of it, this is actually a multi-line if... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33464 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/shared/cpu_type.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/private/shared/cpu_type.h b/headers/private/shared/cpu_type.h index a0c4057cab..67bf9060cb 100644 --- a/headers/private/shared/cpu_type.h +++ b/headers/private/shared/cpu_type.h @@ -185,8 +185,9 @@ get_cpu_model_string(system_info *info) case B_CPU_INTEL_PENTIUM_CORE_2_45_NM: get_cpuid_model_string(cpuidName); if (strcasestr(cpuidName, "Duo") != NULL - || strcasestr(cpuidName, "Quad") != NULL) + || strcasestr(cpuidName, "Quad") != NULL) { return "Core 2"; + } if (strcasestr(cpuidName, "Xeon") != NULL) return "Core 2 Xeon"; return "Core 2 Extreme";