diff options
author | sr55 <[email protected]> | 2017-06-27 17:21:38 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-06-27 17:21:38 +0100 |
commit | da26ad0dfae416d0cdbd546cae4c067af317c5c5 (patch) | |
tree | b5e9a613602e33809c5d9469805e07ff30af5459 | |
parent | 6071d4c53b9d327e318452b16780ceeb80303275 (diff) |
WinGui: Fix a couple code warnings.
-rw-r--r-- | win/CS/HandBrakeWPF/App.xaml.cs | 3 |
1 files changed, 1 insertions, 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();
|