some more warnings of bug #1676243
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5097 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
04cb60bc69
commit
f91406647a
2 changed files with 3 additions and 6 deletions
|
@ -143,7 +143,7 @@ int compressor_strings[] = {IDS_SCRIPT,
|
|||
extern const char* NSISW_VERSION;
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, char *cmdParam, int cmdShow);
|
||||
static BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
DWORD WINAPI MakeNSISProc(LPVOID p);
|
||||
BOOL CALLBACK DialogResize(HWND hWnd, LPARAM /* unused*/);
|
||||
BOOL CALLBACK AboutNSISProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
|
|
@ -489,7 +489,6 @@ void makeEXE(HWND hwndDlg)
|
|||
if (g_compressor_solid == 1)
|
||||
fprintf(fp,"!define ZIP2EXE_COMPRESSOR_SOLID\n");
|
||||
GetDlgItemText(hwndDlg,IDC_INSTPATH,buf,sizeof(buf));
|
||||
char *outpath = "$INSTDIR";
|
||||
int iswinamp=0;
|
||||
char *iswinampmode=NULL;
|
||||
if (!strcmp(buf,gp_poi)) lstrcpy(buf,"$EXEDIR");
|
||||
|
@ -732,8 +731,7 @@ BOOL CALLBACK DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
ShowWindow(GetDlgItem(hwndDlg,IDC_TEST),SW_HIDE);
|
||||
ShowWindow(GetDlgItem(hwndDlg,IDC_OUTPUTTEXT),SW_HIDE);
|
||||
{
|
||||
int x;
|
||||
for (x = 0; x < sizeof(ids)/sizeof(ids[0]); x ++)
|
||||
for (size_t x = 0; x < sizeof(ids)/sizeof(ids[0]); x ++)
|
||||
ShowWindow(GetDlgItem(hwndDlg,ids[x]),SW_SHOWNA);
|
||||
SetDlgItemText(hwndDlg,IDOK,"&Generate");
|
||||
EnableWindow(GetDlgItem(hwndDlg,IDOK),1);
|
||||
|
@ -764,8 +762,7 @@ BOOL CALLBACK DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
g_compressor_solid = 0;
|
||||
g_mui=!IsDlgButtonChecked(hwndDlg,IDC_CLASSICUI);
|
||||
SetDlgItemText(g_hwnd, IDC_OUTPUTTEXT, "");
|
||||
int x;
|
||||
for (x = 0; x < sizeof(ids)/sizeof(ids[0]); x ++)
|
||||
for (size_t x = 0; x < sizeof(ids)/sizeof(ids[0]); x ++)
|
||||
ShowWindow(GetDlgItem(hwndDlg,ids[x]),SW_HIDE);
|
||||
ShowWindow(GetDlgItem(hwndDlg,IDC_OUTPUTTEXT),SW_SHOWNA);
|
||||
SetDlgItemText(hwndDlg,IDOK,"&Close");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue