Module: wine Branch: master Commit: 06f9c79739fb7054bb170699183d779b81a9eb57 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=06f9c79739fb7054bb170699...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Tue Oct 3 10:41:09 2006 +0200
comdlg32: Load "Save" string from resources in filedlgbrowser.c.
---
dlls/comdlg32/filedlgbrowser.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/comdlg32/filedlgbrowser.c b/dlls/comdlg32/filedlgbrowser.c index 8f04736..194c027 100644 --- a/dlls/comdlg32/filedlgbrowser.c +++ b/dlls/comdlg32/filedlgbrowser.c @@ -843,7 +843,11 @@ static HRESULT WINAPI IShellBrowserImpl_ { FileOpenDlgInfos *fodInfos = (FileOpenDlgInfos *) GetPropA(This->hwndOwner,FileOpenDlgInfosStr); if(fodInfos->DlgInfos.dwDlgProp & FODPROP_SAVEDLG) - SetDlgItemTextA(fodInfos->ShellInfos.hwndOwner,IDOK,"&Save"); + { + WCHAR szSave[16]; + LoadStringW(COMDLG32_hInstance, IDS_SAVE_BUTTON, szSave, sizeof(szSave)/sizeof(WCHAR)); + SetDlgItemTextW(fodInfos->ShellInfos.hwndOwner, IDOK, szSave); + } } break; case CDBOSC_SELCHANGE: