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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user