- Fixed bug whereby adding a new task with "task add asdfsd pri:" resulted in gibberish values in the priority field.

This commit is contained in:
Paul Beckingham 2008-07-05 16:49:41 -04:00
parent 188b9f36f2
commit e85d36cea0
7 changed files with 25 additions and 4 deletions

View file

@ -285,6 +285,17 @@ std::string lowerCase (const std::string& input)
return output;
}
////////////////////////////////////////////////////////////////////////////////
std::string upperCase (const std::string& input)
{
std::string output = input;
for (int i = 0; i < (int) input.length (); ++i)
if (::isupper (input[i]))
output[i] = ::toupper (input[i]);
return output;
}
////////////////////////////////////////////////////////////////////////////////
const char* optionalBlankLine (Config& conf)
{