Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

shellext: fix coding style

Changeset 599be7707fd3

Parent c1232aee254b

by Henrik Stuart

Changes to 2 files · Browse files at 599be7707fd3 Showing diff from parent c1232aee254b Diff from another changeset...

 
115
116
117
118
 
119
120
121
 
138
139
140
141
 
142
143
144
 
163
164
165
166
 
167
168
169
 
188
189
190
191
 
192
193
194
 
115
116
117
 
118
119
120
121
 
138
139
140
 
141
142
143
144
 
163
164
165
 
166
167
168
169
 
188
189
190
 
191
192
193
194
@@ -115,7 +115,7 @@
 MenuDescriptionMap MenuDescMap;  MenuIdCmdMap MenuIdMap;   -void AddMenuList(int idCmd, std::string const& name) +void AddMenuList(int idCmd, const std::string& name)  {   TDEBUG_TRACE("AddMenuList: idCmd = " << idCmd << " name = " << name);   MenuIdMap[idCmd] = MenuDescMap[name]; @@ -138,7 +138,7 @@
 }    void InsertMenuItemWithIcon(HMENU hMenu, int indexMenu, int idCmd, - std::string const& menuText, std::string const& iconName) + const std::string& menuText, const std::string& iconName)  {   MENUITEMINFO mi;   mi.cbSize = sizeof(mi); @@ -163,7 +163,7 @@
 }    void InsertSubMenuItemWithIcon(HMENU hMenu, HMENU hSubMenu, int indexMenu, int idCmd, - std::string const& menuText, std::string const& iconName) + const std::string& menuText, const std::string& iconName)  {   MENUITEMINFO mi;   mi.cbSize = sizeof(mi); @@ -188,7 +188,7 @@
  InsertMenuItem(hMenu, indexMenu, TRUE, &mi);  }   -void InsertMenuItemByName(HMENU hMenu, std::string const& name, int indexMenu, +void InsertMenuItemByName(HMENU hMenu, const std::string& name, int indexMenu,   int idCmd, int idCmdFirst)  {   TDEBUG_TRACE("InsertMenuItemByName: name = " << name);
 
42
43
44
45
 
46
47
48
 
42
43
44
 
45
46
47
48
@@ -42,7 +42,7 @@
 };     -bool hasHgDir(std::string const& path) +bool hasHgDir(const std::string& path)  {   return PathIsDirectory((path + "\\.hg").c_str()) != 0;  }