Win2000 has a very limited HTML parser, only plain A tags

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7210 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2020-08-01 23:20:24 +00:00
parent 71407ed3f5
commit 99b1a1e986
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ int WINAPI _tWinMain(HINSTANCE hInst,HINSTANCE hOldInst,LPTSTR CmdLineParams,int
DWORD iccestruct[2] = { 8, 0x8000 }; // ICC_LINK_CLASS (ComCtl32v6)
FARPROC icce = SupportsW95() ? GetSysProcAddr("COMCTL32", "InitCommonControlsEx") : (FARPROC) InitCommonControlsEx;
BOOL succ = ((BOOL(WINAPI*)(const void*))icce)(iccestruct);
if (!succ && (sizeof(void*) > 4 || LOBYTE(GetVersion()) >= 5))
if (!succ && (sizeof(void*) > 4 || LOBYTE(GetVersion()) >= 5)) // Must check the version because older shell32 versions have a incompatible function at the same ordinal
{
FARPROC lwrc = GetSysProcAddr("SHELL32", (LPCSTR) 258); // LinkWindow_RegisterClass
if (lwrc) ((BOOL(WINAPI*)())lwrc)();

View file

@ -50,7 +50,7 @@
#endif
#define COPYRIGHT _T("Copyright (C) 2002 Robert Rainwater")
#define CONTRIB _T("Fritz Elfert, Justin Frankel, Amir Szekely, Sunil Kamath, Joost Verburg, Anders Kjersem")
#define DONATE _T("<A ID=\"D\">Donate</A> to support NSIS development.")
#define DONATE _T("<A>Donate</A> to support NSIS development.")
#define DONATEURL { 'h'|x,'t','t'|x,'p',':'|x,'/'|x,'/'|x,'n'|x,'s'|x,'i'|x,'s'|x,'.'|x,'s'|x,'f'|x,'.','n'|x,'e'|x,'t'|x,'/'|x,'r','/'|x,'D'|x,'o'|x,'n'|x,'a'|x,'t'|x,'e'|x,'\0' } // "Encrypted"
#define DOCPATH "https://nsis.sourceforge.io/Docs/"
#define LOCALDOCS _T("\\NSIS.chm")