From 568a27b2a4c3b0f04931d471de8b0ccbf74b3c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Sat, 18 Sep 2010 15:13:26 +0000 Subject: [PATCH] Corrected the size of the DriveCommandParameter structure to match the documentation of SENDCMDINPARAMS http://msdn.microsoft.com/en-us/library/ff565401%28VS.85%29.aspx --- GUI/AboutBox.cs | 2 +- Hardware/HDD/SMART.cs | 2 +- Properties/AssemblyVersion.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GUI/AboutBox.cs b/GUI/AboutBox.cs index ef6ea67..7c97d5b 100644 --- a/GUI/AboutBox.cs +++ b/GUI/AboutBox.cs @@ -48,7 +48,7 @@ namespace OpenHardwareMonitor.GUI { InitializeComponent(); this.Font = SystemFonts.MessageBoxFont; this.label3.Text = "Version " + - System.Windows.Forms.Application.ProductVersion + " Beta"; + System.Windows.Forms.Application.ProductVersion; linkLabel.Links.Remove(linkLabel.Links[0]); linkLabel.Links.Add(0, linkLabel.Text.Length, "http://openhardwaremonitor.org"); diff --git a/Hardware/HDD/SMART.cs b/Hardware/HDD/SMART.cs index d6029f1..5408ff4 100644 --- a/Hardware/HDD/SMART.cs +++ b/Hardware/HDD/SMART.cs @@ -154,7 +154,7 @@ namespace OpenHardwareMonitor.Hardware.HDD { private uint BufferSize; public CommandBlockRegisters Registers; public byte DriveNumber; - [MarshalAs(UnmanagedType.ByValArray, SizeConst = 19)] + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)] public byte[] Reserved; } diff --git a/Properties/AssemblyVersion.cs b/Properties/AssemblyVersion.cs index af3c6e2..3f46ae4 100644 --- a/Properties/AssemblyVersion.cs +++ b/Properties/AssemblyVersion.cs @@ -38,5 +38,5 @@ using System; using System.Reflection; -[assembly: AssemblyVersion("0.1.37.13")] -[assembly: AssemblyFileVersion("0.1.37.13")] +[assembly: AssemblyVersion("0.1.37.14")] +[assembly: AssemblyInformationalVersion("0.1.37.14 Alpha")] \ No newline at end of file