https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0ed302ef656ed39c932e0…
commit 0ed302ef656ed39c932e084508ffa506b47c463b
Author: Thamatip Chitpong <tangaming123456(a)outlook.com>
AuthorDate: Wed Aug 24 13:17:14 2022 +0700
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Aug 24 15:17:14 2022 +0900
[INPUT] Use MAKEINTRESOURCE instead of LoadString (#4628)
---
dll/cpl/input/input.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dll/cpl/input/input.c b/dll/cpl/input/input.c
index 1896eb8552a..f169e97c151 100644
--- a/dll/cpl/input/input.c
+++ b/dll/cpl/input/input.c
@@ -58,9 +58,6 @@ SystemApplet(HWND hwnd, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
{
PROPSHEETPAGEW page[2];
PROPSHEETHEADERW header;
- WCHAR szCaption[MAX_STR_LEN];
-
- LoadStringW(hApplet, IDS_CPLSYSTEMNAME, szCaption, ARRAYSIZE(szCaption));
ZeroMemory(&header, sizeof(header));
@@ -69,7 +66,7 @@ SystemApplet(HWND hwnd, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
header.hwndParent = hwnd;
header.hInstance = hApplet;
header.pszIcon = MAKEINTRESOURCEW(IDI_KEY_SHORT_ICO);
- header.pszCaption = szCaption;
+ header.pszCaption = MAKEINTRESOURCEW(IDS_CPLSYSTEMNAME);
header.nPages = ARRAYSIZE(page);
header.nStartPage = 0;
header.ppsp = page;