summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-06-27 17:21:38 +0100
committersr55 <[email protected]>2017-06-27 17:21:38 +0100
commitda26ad0dfae416d0cdbd546cae4c067af317c5c5 (patch)
treeb5e9a613602e33809c5d9469805e07ff30af5459 /win/CS
parent6071d4c53b9d327e318452b16780ceeb80303275 (diff)
WinGui: Fix a couple code warnings.
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/App.xaml.cs3
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();