mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Fix indentation
This commit is contained in:
parent
85e16ee33a
commit
aa44cedcd2
@ -450,22 +450,22 @@ static const char* GetHostInfo()
|
|||||||
# endif
|
# endif
|
||||||
if( !GetVersion )
|
if( !GetVersion )
|
||||||
{
|
{
|
||||||
# ifdef __MINGW32__
|
# ifdef __MINGW32__
|
||||||
ptr += sprintf( ptr, "OS: Windows (MingW)\n" );
|
ptr += sprintf( ptr, "OS: Windows (MingW)\n" );
|
||||||
# else
|
# else
|
||||||
ptr += sprintf( ptr, "OS: Windows\n" );
|
ptr += sprintf( ptr, "OS: Windows\n" );
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RTL_OSVERSIONINFOW ver = { sizeof( RTL_OSVERSIONINFOW ) };
|
RTL_OSVERSIONINFOW ver = { sizeof( RTL_OSVERSIONINFOW ) };
|
||||||
GetVersion( &ver );
|
GetVersion( &ver );
|
||||||
|
|
||||||
# ifdef __MINGW32__
|
# ifdef __MINGW32__
|
||||||
ptr += sprintf( ptr, "OS: Windows %i.%i.%i (MingW)\n", (int)ver.dwMajorVersion, (int)ver.dwMinorVersion, (int)ver.dwBuildNumber );
|
ptr += sprintf( ptr, "OS: Windows %i.%i.%i (MingW)\n", (int)ver.dwMajorVersion, (int)ver.dwMinorVersion, (int)ver.dwBuildNumber );
|
||||||
# else
|
# else
|
||||||
ptr += sprintf( ptr, "OS: Windows %i.%i.%i\n", ver.dwMajorVersion, ver.dwMinorVersion, ver.dwBuildNumber );
|
ptr += sprintf( ptr, "OS: Windows %i.%i.%i\n", ver.dwMajorVersion, ver.dwMinorVersion, ver.dwBuildNumber );
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
#elif defined __linux__
|
#elif defined __linux__
|
||||||
struct utsname utsName;
|
struct utsname utsName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user