From 2b3b994b01dc7db0becb4a71ade7bc087fed6f44 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Thu, 20 Jun 2013 21:10:23 +0000 Subject: Fix indent (use Tabs) svn path=/trunk/; revision=50088 --- version_info.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/version_info.c b/version_info.c index 475472a3c2..a65e2b8fa4 100644 --- a/version_info.c +++ b/version_info.c @@ -652,31 +652,31 @@ do_cpuid(guint32 *CPUInfo, int selector _U_){ static void get_cpu_info(GString *str _U_) { #if defined(_MSC_VER) - int CPUInfo[4]; + int CPUInfo[4]; #else - guint32 CPUInfo[4]; + guint32 CPUInfo[4]; #endif char CPUBrandString[0x40]; - unsigned nExIds; + unsigned nExIds; /* http://msdn.microsoft.com/en-us/library/hskdteyh(v=vs.100).aspx */ /* Calling __cpuid with 0x80000000 as the InfoType argument*/ - /* gets the number of valid extended IDs.*/ - do_cpuid(CPUInfo, 0x80000000); - nExIds = CPUInfo[0]; + /* gets the number of valid extended IDs.*/ + do_cpuid(CPUInfo, 0x80000000); + nExIds = CPUInfo[0]; if( nExIds<0x80000005) return; - memset(CPUBrandString, 0, sizeof(CPUBrandString)); - - /* Interpret CPU brand string.*/ - do_cpuid(CPUInfo, 0x80000002); - memcpy(CPUBrandString, CPUInfo, sizeof(CPUInfo)); - do_cpuid(CPUInfo, 0x80000003); - memcpy(CPUBrandString + 16, CPUInfo, sizeof(CPUInfo)); - do_cpuid(CPUInfo, 0x80000004); - memcpy(CPUBrandString + 32, CPUInfo, sizeof(CPUInfo)); + memset(CPUBrandString, 0, sizeof(CPUBrandString)); + + /* Interpret CPU brand string.*/ + do_cpuid(CPUInfo, 0x80000002); + memcpy(CPUBrandString, CPUInfo, sizeof(CPUInfo)); + do_cpuid(CPUInfo, 0x80000003); + memcpy(CPUBrandString + 16, CPUInfo, sizeof(CPUInfo)); + do_cpuid(CPUInfo, 0x80000004); + memcpy(CPUBrandString + 32, CPUInfo, sizeof(CPUInfo)); g_string_append_printf(str, "\n%s", CPUBrandString); -- cgit v1.2.3