Fix a couple of simple unicode merge and substart related bugs

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6195 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2011-12-05 22:52:54 +00:00
parent 8b457d1aa2
commit 359ad0a055
3 changed files with 3 additions and 3 deletions

View file

@ -915,7 +915,7 @@ int CEXEBuild::LoadLicenseFile(TCHAR *file, TCHAR** pdata, LineParser &line, BOO
}
if (!memcmp(data+1,_T("{\\rtf"),5*sizeof(TCHAR)))
*data = SF_RTF;
else if (unicode)
else if (*unicode)
*data = SF_TEXT|SF_UNICODE;
else
*data = SF_TEXT;