Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed Feb 21, 2019
1 parent 0c50968 commit 6c2a3aa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 1 addition & 3 deletions die_source/_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#define __DIE "Detect It Easy"
#define __VERSION "2.02"
#define __VERSIONW L"2.02"
#define __BUILDDATE __DATE__
#define __UPDATEFILE "http://ntinfo.biz/files/die_version"
#define __HOMEPAGE "http://ntinfo.biz/index.php/detect-it-easy"
Expand Down Expand Up @@ -63,9 +64,6 @@ enum SCAN_METHODS
#ifdef USE_YARA
SM_YARA,
#endif
#ifdef USE_PEID
SM_PEID
#endif
};

struct __DIE_RESULT
Expand Down
11 changes: 6 additions & 5 deletions die_source/singlefilescan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,10 @@ char *__DIE_versionA(void)
return (char *)__VERSION;
}

/* wchar_t *__DIE_versionW(void)
wchar_t *__DIE_versionW(void)
{
#define WIDEN2(x) L ## x
#define WIDEN(x) WIDEN2(x)
return WIDEN(__VERSION);
} */
//#define WIDEN2(x) L ## x
//#define WIDEN(x) WIDEN2(x)
// return WIDEN(__VERSION);
return __VERSIONW;
}
2 changes: 1 addition & 1 deletion die_source/singlefilescan.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ int __DIE_scanExW(wchar_t *pwszFileName, char *pszOutBuffer, int nOutBufferSize,
int __DIE_scanA(char *pszFileName,char *pszOutBuffer,int nOutBufferSize,unsigned int nFlags);
int __DIE_scanW(wchar_t *pwszFileName,char *pszOutBuffer,int nOutBufferSize,unsigned int nFlags);
char *__DIE_versionA(void);
//wchar_t *__DIE_versionW(void);
wchar_t *__DIE_versionW(void);

#endif // SINGLEFILESCAN_H

0 comments on commit 6c2a3aa

Please sign in to comment.