summaryrefslogtreecommitdiff
path: root/src/Fl_get_system_colors.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2012-04-21 17:21:11 +0000
committerFabien Costantini <fabien@onepost.net>2012-04-21 17:21:11 +0000
commit56a184d529d446bdff375fadeb9c0352a342f989 (patch)
tree0233739da2775987c4d4437ddee774fe6e6114a1 /src/Fl_get_system_colors.cxx
parent157a96aa4b074d07e4391a1731d75d4eb594087f (diff)
STR 2771 fix: introduce a new ascii strcasecmp that does not rely on locale sensitive toupper tolower.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_get_system_colors.cxx')
-rw-r--r--src/Fl_get_system_colors.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_get_system_colors.cxx b/src/Fl_get_system_colors.cxx
index de2f50715..bd4c5a046 100644
--- a/src/Fl_get_system_colors.cxx
+++ b/src/Fl_get_system_colors.cxx
@@ -312,7 +312,7 @@ int Fl::scheme(const char *s) {
int Fl::reload_scheme() {
Fl_Window *win;
- if (scheme_ && !strcasecmp(scheme_, "plastic")) {
+ if (scheme_ && !fl_ascii_strcasecmp(scheme_, "plastic")) {
// Update the tile image to match the background color...
uchar r, g, b;
int nr, ng, nb;
@@ -358,7 +358,7 @@ int Fl::reload_scheme() {
// Use standard size scrollbars...
Fl::scrollbar_size(16);
- } else if (scheme_ && !strcasecmp(scheme_, "gtk+")) {
+ } else if (scheme_ && !fl_ascii_strcasecmp(scheme_, "gtk+")) {
// Use a GTK+ inspired look-n-feel...
if (scheme_bg_) {
delete scheme_bg_;