From da26ad0dfae416d0cdbd546cae4c067af317c5c5 Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 27 Jun 2017 17:21:38 +0100 Subject: WinGui: Fix a couple code warnings. --- win/CS/HandBrakeWPF/App.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/win/CS/HandBrakeWPF/App.xaml.cs b/win/CS/HandBrakeWPF/App.xaml.cs index c7ce7d3f5..45b2fa31a 100644 --- a/win/CS/HandBrakeWPF/App.xaml.cs +++ b/win/CS/HandBrakeWPF/App.xaml.cs @@ -51,8 +51,7 @@ namespace HandBrakeWPF { // We don't support Windows XP / 2003 / 2003 R2 / Vista / 2008 OperatingSystem os = Environment.OSVersion; - if ((os.Platform == PlatformID.Win32NT) && (os.Version.Major == 5) || - (os.Platform == PlatformID.Win32NT) && (os.Version.Major == 6 && os.Version.Minor < 1)) + if (((os.Platform == PlatformID.Win32NT) && (os.Version.Major == 5)) || ((os.Platform == PlatformID.Win32NT) && (os.Version.Major == 6 && os.Version.Minor < 1))) { MessageBox.Show("HandBrake requires Windows 7 or later to run. Version 0.9.9 (XP) and 0.10.5 (Vista) was the last version to support these versions.", "Warning", MessageBoxButton.OK, MessageBoxImage.Warning); Application.Current.Shutdown(); -- cgit v1.2.3