fixed compilation without background gradient support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3563 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
164589a75d
commit
aeaefd9776
1 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,7 @@ definedlist.add("NSIS_SUPPORT_LANG_IN_STRINGS");
|
|||
notify_hwnd=0;
|
||||
#endif
|
||||
|
||||
#ifdef NSIS_SUPPORT_BGBG
|
||||
bg_default_font.lfHeight=40;
|
||||
bg_default_font.lfWidth=0;
|
||||
bg_default_font.lfEscapement=0;
|
||||
|
@ -409,6 +410,7 @@ definedlist.add("NSIS_SUPPORT_LANG_IN_STRINGS");
|
|||
bg_default_font.lfPitchAndFamily=DEFAULT_PITCH;
|
||||
strncpy(bg_default_font.lfFaceName,"Times New Roman",LF_FACESIZE);
|
||||
memcpy(&bg_font,&bg_default_font,sizeof(LOGFONT));
|
||||
#endif
|
||||
|
||||
defcodepage_set=false;
|
||||
uDefCodePage=CP_ACP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue