Author: rnaumann
Date: Fri Jul 29 12:05:06 2016
New Revision: 72046
URL:
http://svn.reactos.org/svn/reactos?rev=72046&view=rev
Log:
[BROWSEUI] - explorerband: get the caption string from resource file instead of hardcoding
it
Modified:
trunk/reactos/dll/win32/browseui/explorerband.cpp
Modified: trunk/reactos/dll/win32/browseui/explorerband.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/explore…
==============================================================================
--- trunk/reactos/dll/win32/browseui/explorerband.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/explorerband.cpp [iso-8859-1] Fri Jul 29 12:05:06
2016
@@ -673,7 +673,8 @@
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)