Author: fabien Date: 2012-04-21 10:40:07 -0700 (Sat, 21 Apr 2012) New Revision: 9369 Log: STR 2771 fix cont'd used the new api in scheme(const char*)
Modified: branches/branch-1.3/src/Fl_get_system_colors.cxx Modified: branches/branch-1.3/src/Fl_get_system_colors.cxx =================================================================== --- branches/branch-1.3/src/Fl_get_system_colors.cxx 2012-04-21 17:21:11 UTC (rev 9368) +++ branches/branch-1.3/src/Fl_get_system_colors.cxx 2012-04-21 17:40:07 UTC (rev 9369) @@ -290,9 +290,9 @@ } if (s) { - if (!strcasecmp(s, "none") || !strcasecmp(s, "base") || !*s) s = 0; - else if (!strcasecmp(s, "gtk+")) s = strdup("gtk+"); - else if (!strcasecmp(s, "plastic")) s = strdup("plastic"); + if (!fl_ascii_strcasecmp(s, "none") || !fl_ascii_strcasecmp(s, "base") || !*s) s = 0; + else if (!fl_ascii_strcasecmp(s, "gtk+")) s = strdup("gtk+"); + else if (!fl_ascii_strcasecmp(s, "plastic")) s = strdup("plastic"); else s = 0; } if (scheme_) free((void*)scheme_); _______________________________________________ fltk-commit mailing list fltk-commit@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-commit