diff --git a/DateCountdown/MainWindow.xaml.cs b/DateCountdown/MainWindow.xaml.cs index cf3145c..963e77c 100644 --- a/DateCountdown/MainWindow.xaml.cs +++ b/DateCountdown/MainWindow.xaml.cs @@ -181,7 +181,7 @@ private void Window_Loaded(object sender, RoutedEventArgs e) { string[] text = App.StartArgs[0].Split('|'); if (text.Length == 1) - TextBlockTitle.Text = text[0] == "" ? text[0] : "距离高考还有"; + TextBlockTitle.Text = text[0] != "" ? text[0] : "距离高考还有"; else { TextBlockTitle.Text = text[0]; AfterText.Text = text[1];