From 6faf1e44f53a4affc369d80462f68d97f3fec2de Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 14 Feb 2009 20:04:34 -0500 Subject: [PATCH] Bug Fix - lower case priorities - Changed a call to isupper to islower. This was preventing the internal modification to upper case. - Updated ChangeLog accordingly. --- ChangeLog | 1 + src/text.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 109aaa601..535a46ca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ which may be spelling mistakes or deprecated variables. + "configure --enable-debug" now supported to suppress compiler optimization to allow debugging. + + Allow lower case priorities, and automatically upper case them. ------ old releases ------------------------------ diff --git a/src/text.cpp b/src/text.cpp index 46ae3bbe4..b459e2856 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -296,7 +296,7 @@ std::string upperCase (const std::string& input) { std::string output = input; for (int i = 0; i < (int) input.length (); ++i) - if (::isupper (input[i])) + if (::islower (input[i])) output[i] = ::toupper (input[i]); return output;