Include dirs (${NSISDIR}\Inclue is automatically one of them, use !AddIncludeDir to add more). Fixed a bug with SetStaticBkColor (-1)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1958 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
92029c8558
commit
6896e04c79
5 changed files with 50 additions and 3 deletions
|
@ -198,10 +198,12 @@ CEXEBuild::CEXEBuild()
|
|||
// Coded by Robert Rainwater
|
||||
{
|
||||
char szNSISDir[NSIS_MAX_STRLEN],*fn2;
|
||||
GetModuleFileName(NULL,szNSISDir,sizeof(szNSISDir));
|
||||
GetModuleFileName(NULL,szNSISDir,sizeof(szNSISDir)-sizeof("\\Include"));
|
||||
fn2=strrchr(szNSISDir,'\\');
|
||||
if(fn2!=NULL) *fn2=0;
|
||||
definedlist.add("NSISDIR",(char*)szNSISDir);
|
||||
lstrcat(szNSISDir, "\\Include");
|
||||
include_dirs.add(szNSISDir,0);
|
||||
}
|
||||
|
||||
db_opt_save=db_comp_save=db_full_size=db_opt_save_u=db_comp_save_u=db_full_size_u=0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue