forgot recompile crap
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@910 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
19a293342d
commit
bb3380ae81
1 changed files with 6 additions and 2 deletions
|
@ -128,6 +128,7 @@ void EnableItems(HWND hwnd) {
|
|||
EnableMenuItem(m,IDM_EDITSCRIPT,MF_ENABLED);
|
||||
}
|
||||
|
||||
static BOOL g_appended = FALSE;
|
||||
void CompileNSISScript() {
|
||||
char s[MAX_PATH];
|
||||
ClearLog(g_hwnd);
|
||||
|
@ -142,8 +143,11 @@ void CompileNSISScript() {
|
|||
EnableWindow(GetDlgItem(g_hwnd,IDC_TEST),0);
|
||||
return;
|
||||
}
|
||||
wsprintf(s,"%s %s",EXENAME,g_script);
|
||||
lstrcpy(g_script,s);
|
||||
if (!g_appended) {
|
||||
wsprintf(s,"%s %s",EXENAME,g_script);
|
||||
lstrcpy(g_script,s);
|
||||
g_appended = TRUE;
|
||||
}
|
||||
// Disable buttons during compile
|
||||
DisableItems(g_hwnd);
|
||||
DWORD id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue