Better xhtml compatibility, default charset and optional lang tag

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7318 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2021-09-11 22:57:27 +00:00
parent 983b3a9019
commit 452dbe5787
6 changed files with 151 additions and 66 deletions

View file

@ -867,7 +867,7 @@ bool CResourceEditor::UpdateResourceFromExternalT(const TCHAR* Type, WORD Name,
{
bool success = false;
const TCHAR *srctype, *srcname;
LANGID srclang;
LANGID srclang = 0;
TCHAR *resproto = ParseResProtocolAlloc(File, srctype, srcname, srclang);
if (resproto) {
File = resproto;