Skip to content

Commit 049efd5

Browse files
authored
Try to fix typo
1 parent c2115e3 commit 049efd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DateCountdown/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private void DispatcherTimer_Tick(object sender, EventArgs e)
4646
// {
4747
// timeSpan = new DateTime(year, 6, 8, 17, 0, 0) - DateTime.Now;
4848
// }
49-
TextBlockDays.Text = (redText || ((!greenText) && (timeSpan.Days < 100)) ? "-" : "") + Math.Abs(timeSpan.Days).ToString();
49+
TextBlockDays.Text = ((detailNum < 0.0) && neg ? "-" : "") + Math.Abs(timeSpan.Days).ToString();
5050
if (redText || ((!greenText) && (timeSpan.Days < 100)))
5151
{
5252
TextBlockDays.Foreground = Brushes.Red;

0 commit comments

Comments
 (0)