mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[COMDLG32][REGEDIT] Fix display problems (CORE-16890) (#2638)
This commit is contained in:
parent
07e80dead4
commit
9c682e4c16
1 changed files with 4 additions and 0 deletions
|
@ -1915,7 +1915,11 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
|
||||||
/* change Open to Save */
|
/* change Open to Save */
|
||||||
if (fodInfos->DlgInfos.dwDlgProp & FODPROP_SAVEDLG)
|
if (fodInfos->DlgInfos.dwDlgProp & FODPROP_SAVEDLG)
|
||||||
{
|
{
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
WCHAR buf[24];
|
||||||
|
#else
|
||||||
WCHAR buf[16];
|
WCHAR buf[16];
|
||||||
|
#endif
|
||||||
LoadStringW(COMDLG32_hInstance, IDS_SAVE_BUTTON, buf, ARRAY_SIZE(buf));
|
LoadStringW(COMDLG32_hInstance, IDS_SAVE_BUTTON, buf, ARRAY_SIZE(buf));
|
||||||
SetDlgItemTextW(hwnd, IDOK, buf);
|
SetDlgItemTextW(hwnd, IDOK, buf);
|
||||||
LoadStringW(COMDLG32_hInstance, IDS_SAVE_IN, buf, ARRAY_SIZE(buf));
|
LoadStringW(COMDLG32_hInstance, IDS_SAVE_IN, buf, ARRAY_SIZE(buf));
|
||||||
|
|
Loading…
Reference in a new issue