Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0.1, 1.0.2, and 1.0.3

stable shellext: don't add dummy menu template

emit debug out warning in InitMenuMaps for entries with empty name

Changeset acd49bc5d7b8

Parent 8d358e6fd0ca

by Adrian Buehlmann

Changes to one file · Browse files at acd49bc5d7b8 Showing diff from parent 8d358e6fd0ca Diff from another changeset...

 
107
108
109
110
 
111
112
113
 
196
197
198
 
 
199
 
200
201
202
 
107
108
109
 
110
111
112
113
 
196
197
198
199
200
201
202
203
204
205
@@ -107,7 +107,7 @@
  /* Add new items here */     // template - {"", L"", L"", ".ico", 0}, + //{"", L"", L"", ".ico", 0},  };    const char* const RepoNoFilesMenu = @@ -196,7 +196,10 @@
  MenuDescription md = menuDescList[i];     if (md.name.size() == 0) + { + TDEBUG_TRACE("**** InitMenuMaps: ignoring entry with empty name");   break; + }     TDEBUG_TRACE("InitMenuMaps: adding " << md.name);