Added a Check for Update command

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1378 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2002-10-11 13:38:26 +00:00
parent 33590cb263
commit 31f8651abf
6 changed files with 17 additions and 2 deletions

View file

@ -253,6 +253,8 @@ int InitBranding() {
if (lstrlen(szBuf)==0) return 0;
g_sdata.branding = (char *)GlobalAlloc(GPTR,lstrlen(szBuf)+6);
wsprintf(g_sdata.branding,"NSIS %s",szBuf);
g_sdata.brandingv = (char *)GlobalAlloc(GPTR,lstrlen(szBuf)+1);
lstrcpy(g_sdata.brandingv,szBuf);
GlobalFree(s);
}
return 1;