From a57e61507def81c4e3348b120fae43138e7ed558 Mon Sep 17 00:00:00 2001 From: Robert Naumann Date: Fri, 29 Jul 2016 12:05:06 +0000 Subject: [PATCH 1/1] [BROWSEUI] - explorerband: get the caption string from resource file instead of hardcoding it svn path=/trunk/; revision=72046 --- reactos/dll/win32/browseui/explorerband.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/browseui/explorerband.cpp b/reactos/dll/win32/browseui/explorerband.cpp index 11ecc249e42..f0a6a3d35fe 100644 --- a/reactos/dll/win32/browseui/explorerband.cpp +++ b/reactos/dll/win32/browseui/explorerband.cpp @@ -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) -- 2.17.1