This is better than wasting space on null chars (and having Git mangle it).
Also ensure that it gets CRLF newlines since its contents go in the binary.
{
HRSRC hResInfo;
HGLOBAL hResMem;
- WCHAR *LicenseText;
+ PCSTR LicenseText;
pLicInfo->hIcon = LoadImage(hApplet,
MAKEINTRESOURCE(IDI_CPLSYSTEM),
return FALSE;
}
- /* Insert the license into the edit control (unicode!) */
- SetDlgItemText(hDlg,
- IDC_LICENCEEDIT,
- LicenseText);
+ /* Insert the license into the edit control */
+ SetDlgItemTextA(hDlg,
+ IDC_LICENCEEDIT,
+ LicenseText);
PostMessage(GetDlgItem(hDlg, IDC_LICENCEEDIT),
EM_SETSEL,
--- /dev/null
+# This text file is included in the binary output
+gpl.txt text eol=crlf