https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9c682e4c1670be4f23d02…
commit 9c682e4c1670be4f23d02503b21256886e18b2b1
Author: Kyle Katarn <contact(a)kcsoftwares.com>
AuthorDate: Sat Apr 25 10:41:01 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Apr 25 10:41:01 2020 +0200
[COMDLG32][REGEDIT] Fix display problems (CORE-16890) (#2638)
---
dll/win32/comdlg32/filedlg.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/win32/comdlg32/filedlg.c b/dll/win32/comdlg32/filedlg.c
index 1c05df91c22..1847d837c09 100644
--- a/dll/win32/comdlg32/filedlg.c
+++ b/dll/win32/comdlg32/filedlg.c
@@ -1915,7 +1915,11 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
/* change Open to Save */
if (fodInfos->DlgInfos.dwDlgProp & FODPROP_SAVEDLG)
{
+#ifdef __REACTOS__
+ WCHAR buf[24];
+#else
WCHAR buf[16];
+#endif
LoadStringW(COMDLG32_hInstance, IDS_SAVE_BUTTON, buf, ARRAY_SIZE(buf));
SetDlgItemTextW(hwnd, IDOK, buf);
LoadStringW(COMDLG32_hInstance, IDS_SAVE_IN, buf, ARRAY_SIZE(buf));