[Bug 48962] Save file dialog doesn't show full label text for some locales

WineHQ Bugzilla wine-bugs at winehq.org
Wed Apr 22 23:38:06 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48962

--- Comment #4 from Kyle_Katarn <contact at kcsoftwares.com> ---
(In reply to Kyle_Katarn from comment #3)
> This is likely due to a too narrow IDC_LOOKINSTATICdefinition in
> NEWFILEOPENORD ressource

My mistake, This is due to a too narrow array "WCHAR buf[16];" in filedlg.c
ComDlg ressource.

WCHAR buf[16] ==>       WCHAR buf[24];

/* change Open to Save */
  if (fodInfos->DlgInfos.dwDlgProp & FODPROP_SAVEDLG)
  {
      WCHAR buf[16];
      LoadStringW(COMDLG32_hInstance, IDS_SAVE_BUTTON, buf, ARRAY_SIZE(buf));
      SetDlgItemTextW(hwnd, IDOK, buf);
      LoadStringW(COMDLG32_hInstance, IDS_SAVE_IN, buf, ARRAY_SIZE(buf));
      SetDlgItemTextW(hwnd, IDC_LOOKINSTATIC, buf);
  }

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list