summaryrefslogtreecommitdiff
path: root/src/Fl_get_system_colors.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-04-27 19:35:18 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-04-27 19:35:18 +0000
commit9f5d6a0ecbf4c8beaed7028c13f52aad443cf394 (patch)
tree5e6297758864c859edc307ad630c307f5e9feba9 /src/Fl_get_system_colors.cxx
parenta48e1cac3fa0be3594245cbb8180e0bbf323f35f (diff)
Fix rendering of Fl_Light_Button with the plastic scheme.
The "none" and "base" schemes map to no scheme (standard FLTK look-n-feel) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_get_system_colors.cxx')
-rw-r--r--src/Fl_get_system_colors.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_get_system_colors.cxx b/src/Fl_get_system_colors.cxx
index 7a4176ddd..2ac699e3f 100644
--- a/src/Fl_get_system_colors.cxx
+++ b/src/Fl_get_system_colors.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.8 2002/04/13 22:17:46 easysw Exp $"
+// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.9 2002/04/27 19:35:18 easysw Exp $"
//
// System color support for the Fast Light Tool Kit (FLTK).
//
@@ -223,7 +223,7 @@ int Fl::scheme(const char *s) {
}
if (s) {
- if (!strcasecmp(s, "none") || !*s) s = 0;
+ if (!strcasecmp(s, "none") || !strcasecmp(s, "base") || !*s) s = 0;
else s = strdup(s);
}
if (scheme_) free((void*)scheme_);
@@ -316,5 +316,5 @@ int Fl::reload_scheme() {
//
-// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.8 2002/04/13 22:17:46 easysw Exp $".
+// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.9 2002/04/27 19:35:18 easysw Exp $".
//