mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Bug Fix - lower case priorities
- Changed a call to isupper to islower. This was preventing the internal modification to upper case. - Updated ChangeLog accordingly.
This commit is contained in:
parent
2307dcab8a
commit
6faf1e44f5
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
which may be spelling mistakes or deprecated variables.
|
which may be spelling mistakes or deprecated variables.
|
||||||
+ "configure --enable-debug" now supported to suppress compiler optimization
|
+ "configure --enable-debug" now supported to suppress compiler optimization
|
||||||
to allow debugging.
|
to allow debugging.
|
||||||
|
+ Allow lower case priorities, and automatically upper case them.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|
|
@ -296,7 +296,7 @@ std::string upperCase (const std::string& input)
|
||||||
{
|
{
|
||||||
std::string output = input;
|
std::string output = input;
|
||||||
for (int i = 0; i < (int) input.length (); ++i)
|
for (int i = 0; i < (int) input.length (); ++i)
|
||||||
if (::isupper (input[i]))
|
if (::islower (input[i]))
|
||||||
output[i] = ::toupper (input[i]);
|
output[i] = ::toupper (input[i]);
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue