projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5575b8b
)
[BROWSEUI] - explorerband: get the caption string from resource file instead of hardc...
author
Robert Naumann
<gonzomdx@gmail.com>
Fri, 29 Jul 2016 12:05:06 +0000
(12:05 +0000)
committer
Robert Naumann
<gonzomdx@gmail.com>
Fri, 29 Jul 2016 12:05:06 +0000
(12:05 +0000)
svn path=/trunk/; revision=72046
reactos/dll/win32/browseui/explorerband.cpp
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/browseui/explorerband.cpp
b/reactos/dll/win32/browseui/explorerband.cpp
index
11ecc24
..
f0a6a3d
100644
(file)
--- 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)