Changeset 2fc596e128ab…
Parent 82b700937130…
by
Changes to one file · Browse files at 2fc596e128ab Showing diff from parent 82b700937130 Diff from another changeset...
@@ -453,26 +453,29 @@ {
const char *psz = "";
- TDEBUG_TRACE(
- "CShellExt::GetCommandString: idCmd = " << idCmd
- << ", uFlags = " << uFlags
- );
-
MenuIdCmdMap::iterator iter = MenuIdMap.find(static_cast<UINT>(idCmd));
if (iter != MenuIdMap.end())
{
TDEBUG_TRACE(
- "CShellExt::GetCommandString: name = " << iter->second.name);
+ "CShellExt::GetCommandString: idCmd = " << idCmd
+ << ", uFlags = " << uFlags
+ << ", name = " << iter->second.name
+ << ", helpText = " << iter->second.helpText
+ );
psz = iter->second.helpText.c_str();
}
else
{
TDEBUG_TRACE(
- "CShellExt::GetCommandString: can't find idCmd " << idCmd);
+ "CShellExt::GetCommandString: idCmd = " << idCmd
+ << ", uFlags = " << uFlags << " -> not found");
}
if (cchMax < 1)
+ {
+ TDEBUG_TRACE("CShellExt::GetCommandString: cchMax = " << cchMax);
return NOERROR;
+ }
size_t size = 0;
|
Loading...