mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[SYSDM] Make the GPL text ASCII. CORE-14278
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.
This commit is contained in:
parent
2d887745a7
commit
c0a227d9a5
|
@ -20,7 +20,7 @@ OnInitDialog(HWND hDlg, PLIC_CONTEXT pLicInfo)
|
|||
{
|
||||
HRSRC hResInfo;
|
||||
HGLOBAL hResMem;
|
||||
WCHAR *LicenseText;
|
||||
PCSTR LicenseText;
|
||||
|
||||
pLicInfo->hIcon = LoadImage(hApplet,
|
||||
MAKEINTRESOURCE(IDI_CPLSYSTEM),
|
||||
|
@ -45,10 +45,10 @@ OnInitDialog(HWND hDlg, PLIC_CONTEXT pLicInfo)
|
|||
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,
|
||||
|
|
2
dll/cpl/sysdm/resources/.gitattributes
vendored
Normal file
2
dll/cpl/sysdm/resources/.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# This text file is included in the binary output
|
||||
gpl.txt text eol=crlf
|
Binary file not shown.
Loading…
Reference in a new issue