mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Remove __DATA__ following feedback
This commit is contained in:
parent
413c27c02c
commit
9d20aa5a97
1 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,9 @@ using namespace Windows::UI::Xaml::Controls;
|
||||||
using namespace Windows::UI::Xaml::Controls::Primitives;
|
using namespace Windows::UI::Xaml::Controls::Primitives;
|
||||||
using namespace Windows::UI::Xaml::Data;
|
using namespace Windows::UI::Xaml::Data;
|
||||||
|
|
||||||
#define BUILD_YEAR (__DATE__[7] - '0') * 1000 + (__DATE__[8] - '0') * 100 + (__DATE__[9] - '0') * 10 + (__DATE__[10] - '0')
|
#ifndef BUILD_YEAR
|
||||||
|
#define BUILD_YEAR 2019
|
||||||
|
#endif
|
||||||
|
|
||||||
AboutFlyout::AboutFlyout()
|
AboutFlyout::AboutFlyout()
|
||||||
{
|
{
|
||||||
|
@ -37,7 +39,7 @@ AboutFlyout::AboutFlyout()
|
||||||
|
|
||||||
auto copyrightText = LocalizationStringUtil::GetLocalizedString(resourceLoader.GetResourceString("AboutControlCopyright")->Data(), to_wstring(BUILD_YEAR).c_str());
|
auto copyrightText = LocalizationStringUtil::GetLocalizedString(resourceLoader.GetResourceString("AboutControlCopyright")->Data(), to_wstring(BUILD_YEAR).c_str());
|
||||||
AboutControlCopyrightRun->Text = ref new String(copyrightText.c_str());
|
AboutControlCopyrightRun->Text = ref new String(copyrightText.c_str());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AboutFlyout::FeedbackButton_Click(_In_ Object^ sender, _In_ RoutedEventArgs^ e)
|
void AboutFlyout::FeedbackButton_Click(_In_ Object^ sender, _In_ RoutedEventArgs^ e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue