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);
|
EnableMenuItem(m,IDM_EDITSCRIPT,MF_ENABLED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static BOOL g_appended = FALSE;
|
||||||
void CompileNSISScript() {
|
void CompileNSISScript() {
|
||||||
char s[MAX_PATH];
|
char s[MAX_PATH];
|
||||||
ClearLog(g_hwnd);
|
ClearLog(g_hwnd);
|
||||||
|
@ -142,8 +143,11 @@ void CompileNSISScript() {
|
||||||
EnableWindow(GetDlgItem(g_hwnd,IDC_TEST),0);
|
EnableWindow(GetDlgItem(g_hwnd,IDC_TEST),0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
wsprintf(s,"%s %s",EXENAME,g_script);
|
if (!g_appended) {
|
||||||
lstrcpy(g_script,s);
|
wsprintf(s,"%s %s",EXENAME,g_script);
|
||||||
|
lstrcpy(g_script,s);
|
||||||
|
g_appended = TRUE;
|
||||||
|
}
|
||||||
// Disable buttons during compile
|
// Disable buttons during compile
|
||||||
DisableItems(g_hwnd);
|
DisableItems(g_hwnd);
|
||||||
DWORD id;
|
DWORD id;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue