Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Fix fatal error in v2.1.13 (on run hardreset)
Browse files Browse the repository at this point in the history
* I will change the v2.1.13 release to pre-release.
  • Loading branch information
Too-Naive committed Aug 30, 2016
1 parent 2bc4b53 commit f0997a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
#define objectwebsite _T("https:\x2f\x2fgithub.com/HostsTools/Windows")
//end.

#define ConsoleTitle _T("racaljk-host tool v2.1.13 Build time:Aug. 30th, '16")
#define ConsoleTitle _T("racaljk-host tool v2.1.14 Build time:Aug. 30th, '16")

#define CASE(x,y) case x : y; break;
#define DEBUGCASE(x) CASE(x,___debug_point_reset(x))
Expand Down Expand Up @@ -226,7 +226,7 @@ int __fastcall __Check_Parameters(int argc,TCHAR const **argv){
size_t i=0;
for (;_tcscmp(&(argv[1][1]),szParameters[i]) &&
i<sizeof(szParameters)/sizeof(szParameters[0]);i++);
if (!(i==0 || i==1 || i==9 || i==11)
if (!(i==0 || i==1 || i==9 || i==12)
&& argc>2) BAD_EXIT;
if (argc==3 &&
(!_tcscmp(argv[2],szParameters[11]) || !_tcscmp(argv[2],szParameters[3])))
Expand Down

0 comments on commit f0997a7

Please sign in to comment.