[BROWSEUI]
authorDaniel Reimer <reimer.daniel@freenet.de>
Mon, 10 Aug 2015 16:52:40 +0000 (16:52 +0000)
committerDaniel Reimer <reimer.daniel@freenet.de>
Mon, 10 Aug 2015 16:52:40 +0000 (16:52 +0000)
Address is untranslatable by Adam Stachowicz
CORE-9977 #resolve #comment Committed (with a Unicode fix), thx ^^

svn path=/trunk/; revision=68672

reactos/dll/win32/browseui/addressband.cpp

index 47824f3..7c92685 100644 (file)
@@ -93,7 +93,11 @@ HRESULT STDMETHODCALLTYPE CAddressBand::GetBandInfo(DWORD dwBandID, DWORD dwView
         pdbi->ptActual.y = 22;
     }
     if (pdbi->dwMask & DBIM_TITLE)
-        wcscpy(pdbi->wszTitle, L"Address");
+    {
+        if (!LoadStringW(_AtlBaseModule.GetResourceInstance(), IDS_ADDRESSBANDLABEL, pdbi->wszTitle, _countof(pdbi->wszTitle)))
+            return E_FAIL;
+    }
+
     if (pdbi->dwMask & DBIM_MODEFLAGS)
         pdbi->dwModeFlags = DBIMF_UNDELETEABLE;
     if (pdbi->dwMask & DBIM_BKCOLOR)