Skip to content

Commit

Permalink
Updates to version
Browse files Browse the repository at this point in the history
Updated the version number
Added the Prefer 64-bit option
Updated project file to VS2015 ;)
  • Loading branch information
randyrants committed Dec 4, 2017
1 parent b2578ac commit 7371ab1
Show file tree
Hide file tree
Showing 5 changed files with 301 additions and 287 deletions.
4 changes: 2 additions & 2 deletions SharpKeys/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("RandyRants.com")]
[assembly: AssemblyProduct("SharpKeys")]
[assembly: AssemblyCopyright("Copyright 2004 - 2012 RandyRants.com")]
[assembly: AssemblyCopyright("Copyright 2004 - 2018 RandyRants.com")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -26,4 +26,4 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("3.5.0.0")]
[assembly: AssemblyVersion("3.6.0.0")]
2 changes: 2 additions & 0 deletions SharpKeys/Dialog_KeyPress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,11 @@ private void ShowKeyCode(int nCode) {
lblPressed.Text = "You pressed: ";

nCode = nCode >> 16;

// zeroed bit 30 from documentation
// https://msdn.microsoft.com/en-us/library/windows/desktop/ms646280%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
nCode = nCode & 0xBFFF;

if (nCode == 0) {
lblKey.Text = DISABLED_KEY;
btnOK.Enabled = false;
Expand Down
Loading

0 comments on commit 7371ab1

Please sign in to comment.