mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 03:02:59 +08: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:
@@ -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.
Reference in New Issue
Block a user