]> Dogcows Code - chaz/openbox/blobdiff - util/bsetroot.cc
add a manpage for epistrc. Update the epist mapage a bit.
[chaz/openbox] / util / bsetroot.cc
index 21cb3647ede4f4d0a97f32a2f8a92178fe0f2488..98a5bfd4e95b9c855afb4f93dad5dbde5bb1a12e 100644 (file)
@@ -37,9 +37,11 @@ extern "C" {
 #ifdef    HAVE_STDIO_H
 #  include <stdio.h>
 #endif // HAVE_STDIO_H
-}
 
-#include <cctype>
+#ifdef    HAVE_CTYPE_H
+# include <ctype.h>
+#endif // HAVE_CTYPE_H
+}
 
 #include "../src/i18n.hh"
 #include "../src/GCCache.hh"
@@ -303,7 +305,7 @@ void bsetroot::gradient(void) {
 
   std::string::const_iterator it = grad.begin(), end = grad.end();
   for (; it != end; ++it)
-    descr += std::tolower(*it);
+    descr += tolower(*it);
 
   std::string::size_type pos;
   while ((pos = descr.find("raised")) != std::string::npos)
This page took 0.022723 seconds and 4 git commands to generate.