TW-1869 segmentation fault (on unusual installation)

- Thanks to Eric Hymowitz.
This commit is contained in:
Paul Beckingham 2017-01-24 19:13:59 -05:00
parent 3e7958619a
commit c690a3d58d
2 changed files with 3 additions and 3 deletions

View file

@ -45,6 +45,8 @@
- TW-1860 Change signature of Task::getAnnotations - TW-1860 Change signature of Task::getAnnotations
- TW-1861 Truncated description when adding annotation - TW-1861 Truncated description when adding annotation
(thanks to eezewaek). (thanks to eezewaek).
- TW-1869 segmentation fault (on unusual installation)
(thanks to Eric Hymowitz).
- TW-1873 Specify different path to extensions/hooks directory - TW-1873 Specify different path to extensions/hooks directory
(thanks to Eli). (thanks to Eli).
- TW-1877 task done, task edit, task is now pending - TW-1877 task done, task edit, task is now pending

View file

@ -376,9 +376,7 @@ void CLI2::handleArg0 ()
A2 cal ("calendar", Lexer::Type::word); A2 cal ("calendar", Lexer::Type::word);
_args.push_back (cal); _args.push_back (cal);
} }
else if (basename == "task" || else
basename == "tw" ||
basename == "t")
{ {
_args.push_back (a); _args.push_back (a);
} }