Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable cmenu: make menuDescs param of CShellExtCMenu::InitMenuMaps const

Changeset 65e615b0d068

Parent f2902ab382a1

by Adrian Buehlmann

Changes to 2 files · Browse files at 65e615b0d068 Showing diff from parent f2902ab382a1 Diff from another changeset...

 
164
165
166
167
 
168
169
170
 
164
165
166
 
167
168
169
170
@@ -164,7 +164,7 @@
  RegCloseKey(hkey);  }   -void CShellExtCMenu::InitMenuMaps(MenuDescription *menuDescs, std::size_t sz) +void CShellExtCMenu::InitMenuMaps(const MenuDescription *menuDescs, std::size_t sz)  {   if (myDescMap.empty())   {
 
33
34
35
36
 
37
38
39
 
33
34
35
 
36
37
38
39
@@ -33,7 +33,7 @@
    void TweakMenuForVista(HMENU menu);   void PrintDebugHeader(LPCITEMIDLIST pIDFolder, LPDATAOBJECT pDataObj); - void InitMenuMaps(MenuDescription *menuDescs, std::size_t sz); + void InitMenuMaps(const MenuDescription *menuDescs, std::size_t sz);   void InsertMenuItemByName(   HMENU hMenu, const std::string& name, UINT indexMenu,   UINT idCmd, UINT idCmdFirst, const std::wstring& prefix);