Skip to content

Commit

Permalink
fix minor context menu bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gurnec committed Sep 6, 2016
1 parent 1d047a6 commit b904b21
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions CHashCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,9 @@ STDMETHODIMP CHashCheck::QueryContextMenu( HMENU hmenu, UINT indexMenu, UINT idC
if (! InsertMenuItem(hmenu, indexMenu, TRUE, &mii))
return(MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 0));

if (! InsertMenu(hmenu, indexMenu + 1, MF_SEPARATOR | MF_BYPOSITION, 0, NULL))
return(MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 1));
InsertMenu(hmenu, indexMenu + 1, MF_SEPARATOR | MF_BYPOSITION, 0, NULL);

return(MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 2));
return(MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, 1));
}

STDMETHODIMP CHashCheck::InvokeCommand( LPCMINVOKECOMMANDINFO pici )
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2.4.0.51-beta
version: 2.4.0.52-beta

image: Visual Studio 2015

Expand Down
8 changes: 4 additions & 4 deletions installer/HashCheck.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Unicode true

Name "HashCheck"
OutFile "HashCheckSetup-v2.4.0.51-beta.exe"
OutFile "HashCheckSetup-v2.4.0.52-beta.exe"

RequestExecutionLevel admin
ManifestSupportedOS all
Expand Down Expand Up @@ -53,13 +53,13 @@ FunctionEnd
!insertmacro MUI_LANGUAGE "Ukrainian"
!insertmacro MUI_LANGUAGE "Catalan"

VIProductVersion "2.4.0.51-beta"
VIProductVersion "2.4.0.52-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "HashCheck Shell Extension"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "2.4.0.51-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "2.4.0.52-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "Installer distributed from https://github.com/gurnec/HashCheck/releases"
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright © 2008-2016 Kai Liu, Christopher Gurnee, Tim Schlueter, et al. All rights reserved."
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Installer (x86/x64) from https://github.com/gurnec/HashCheck/releases"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "2.4.0.51-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "2.4.0.52-beta"

; With solid compression, files that are required before the
; actual installation should be stored first in the data block,
Expand Down
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#define HASHCHECK_NAME_STR "HashCheck Shell Extension"

// Full version: MUST be in the form of major,minor,revision,build
#define HASHCHECK_VERSION_FULL 2,4,0,51
#define HASHCHECK_VERSION_FULL 2,4,0,52

// String version: May be any suitable string
#define HASHCHECK_VERSION_STR "2.4.0.51-beta"
#define HASHCHECK_VERSION_STR "2.4.0.52-beta"

#ifdef _USRDLL
// PE version: MUST be in the form of major.minor
Expand Down

0 comments on commit b904b21

Please sign in to comment.