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:
Paul Beckingham 2009-02-14 20:04:34 -05:00
parent 2307dcab8a
commit 6faf1e44f5
2 changed files with 2 additions and 1 deletions

View file

@ -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 ------------------------------

View file

@ -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;