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
This commit is contained in:
Stephan Aßmus 2009-10-06 12:27:19 +00:00
parent 8ee28a00be
commit 852e81f6cb

View File

@ -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";