Bug TW-1302

- TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman).
This commit is contained in:
Paul Beckingham 2014-04-12 11:12:24 -04:00
parent 25b8082fbd
commit a49ed165c3
3 changed files with 3 additions and 1 deletions

View file

@ -102,6 +102,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Nicolas Appriou Nicolas Appriou
Jochen Sprickerhof Jochen Sprickerhof
Alexander Sulfrian Alexander Sulfrian
David Binderman
Thanks to the following, who submitted detailed bug reports and excellent Thanks to the following, who submitted detailed bug reports and excellent
suggestions: suggestions:

View file

@ -16,6 +16,7 @@ Features
- TW-1261 Migrate test bug.360.t to new unit testing framework (thanks to - TW-1261 Migrate test bug.360.t to new unit testing framework (thanks to
Renato Alves). Renato Alves).
- TW-1274 Map 'modification' attribute to 'modified' (thanks to jck). - TW-1274 Map 'modification' attribute to 'modified' (thanks to jck).
- TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman).
- Removed deprecated 'echo.command' setting, in favor of the 'header' and - Removed deprecated 'echo.command' setting, in favor of the 'header' and
'affected' verbosity tokens. 'affected' verbosity tokens.
- Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity - Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity

View file

@ -232,7 +232,7 @@ int CmdShow::execute (std::string& output)
i->first.substr (0, 6) != "alias." && i->first.substr (0, 6) != "alias." &&
i->first.substr (0, 5) != "hook." && i->first.substr (0, 5) != "hook." &&
i->first.substr (0, 4) != "uda." && i->first.substr (0, 4) != "uda." &&
i->first.substr (0, 4) != "default." && i->first.substr (0, 8) != "default." &&
i->first.substr (0, 21) != "urgency.user.project." && i->first.substr (0, 21) != "urgency.user.project." &&
i->first.substr (0, 17) != "urgency.user.tag." && i->first.substr (0, 17) != "urgency.user.tag." &&
i->first.substr (0, 12) != "urgency.uda.") i->first.substr (0, 12) != "urgency.uda.")