[BROWSEUI] - explorerband: get the caption string from resource file instead of hardcoding it

svn path=/trunk/; revision=72046
This commit is contained in:
Robert Naumann
2016-07-29 12:05:06 +00:00
parent 5575b8bacc
commit a57e61507d
+2 -1
View File
@@ -673,7 +673,8 @@ HRESULT STDMETHODCALLTYPE CExplorerBand::GetBandInfo(DWORD dwBandID, DWORD dwVie
if (pdbi->dwMask & DBIM_TITLE)
{
lstrcpyW(pdbi->wszTitle, L"Explorer");
if (!LoadStringW(_AtlBaseModule.GetResourceInstance(), IDS_FOLDERSLABEL, pdbi->wszTitle, _countof(pdbi->wszTitle)))
return HRESULT_FROM_WIN32(GetLastError());
}
if (pdbi->dwMask & DBIM_MODEFLAGS)