From 804b6a8cdb9a3beae2c70523d840f4a0bbb538c8 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 12 May 2010 23:13:15 -0400 Subject: [PATCH] Bug Fix - #401 - Fixed bug that ignored the search.case.sensitive configuration setting when filtering on project names (thank to John Florian). --- ChangeLog | 5 +++-- src/Att.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8b900ef85..3bc169344 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,8 @@ message when called without an ID. + Fixed bug #402 which failed compilation on Arch Linux (thanks to Johannes Schlatow). + + Fixed bug #401 that ignored the search.case.sensitive configuration + setting when filtering on project names (thank to John Florian). ------ old releases ------------------------------ @@ -83,8 +85,7 @@ + Added a new 'task-color' man page detailing how to set up and use color in task. + Added feature #176, which allows for configurable case-sensitivity for - keyword - searches and substitutions (thanks to John Florian). + keyword searches and substitutions (thanks to John Florian). + Task can now use an alternate tag indicator by setting the tag.indicator configuration variable to something other than the default of +. + Task can now use an alternate active indicator by setting the diff --git a/src/Att.cpp b/src/Att.cpp index c01e50b98..1aa0539bb 100644 --- a/src/Att.cpp +++ b/src/Att.cpp @@ -537,7 +537,7 @@ bool Att::match (const Att& other) const if (other.mValue.length () < mValue.length ()) return false; - if (!compare (mValue, other.mValue.substr (0, mValue.length ()))) + if (!compare (mValue, other.mValue.substr (0, mValue.length ()), (bool) case_sensitive)) return false; }