From c03b343504fc85d9a3c25f46715a9c0eb2e8302b Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Tue, 11 Feb 2014 12:24:26 -0700 Subject: [PATCH] About Dialog: Added OS name and architecture to text copied to clipboard. --- Library/DialogAbout.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Library/DialogAbout.cpp b/Library/DialogAbout.cpp index 2e25ce98..4e179dcf 100644 --- a/Library/DialogAbout.cpp +++ b/Library/DialogAbout.cpp @@ -1298,6 +1298,17 @@ INT_PTR DialogAbout::TabVersion::OnCommand(WPARAM wParam, LPARAM lParam) WCHAR tmpSz[64]; int len = _snwprintf_s(tmpSz, _TRUNCATE, L"%s%s r%i %s (%s)", APPVERSION, revision_beta ? L" beta" : L"", revision_number, APPBITS, APPDATE); std::wstring text(tmpSz, len); + text += L'\n'; + text += Platform::GetPlatformName(); + bool is64Bit = false; + if (Platform::GetPlatformBit(is64Bit)) + { + text += (is64Bit) ? L" (64-bit)" : L" (32-bit)"; + } + else + { + text += L" (???-bit)"; + } text += L"\nPath: "; text += GetRainmeter().GetPath(); text += L"\nIniFile: ";