diff --git a/AUTHORS b/AUTHORS index dc7bba0df..736d0a6fc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -102,6 +102,7 @@ The following submitted code, packages or analysis, and deserve special thanks: Nicolas Appriou Jochen Sprickerhof Alexander Sulfrian + David Binderman Thanks to the following, who submitted detailed bug reports and excellent suggestions: diff --git a/ChangeLog b/ChangeLog index 303874c67..08f56d116 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,7 @@ Features - TW-1261 Migrate test bug.360.t to new unit testing framework (thanks to Renato Alves). - 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 'affected' verbosity tokens. - Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity diff --git a/src/commands/CmdShow.cpp b/src/commands/CmdShow.cpp index ae10bd001..7d936665f 100644 --- a/src/commands/CmdShow.cpp +++ b/src/commands/CmdShow.cpp @@ -232,7 +232,7 @@ int CmdShow::execute (std::string& output) i->first.substr (0, 6) != "alias." && i->first.substr (0, 5) != "hook." && 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, 17) != "urgency.user.tag." && i->first.substr (0, 12) != "urgency.uda.")