X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fstyle.cc;h=fe34bbf41ec1c5e92f931e6470e2b5ac63f761ab;hb=bf404e092be46801b1a78f9a71e10d0d00b75894;hp=fcc0ff2e8b6ac326f3d5092a5d2c069726e50c19;hpb=2b2f81b93c89c2a2d6abc3b12dee66b8e2a0452d;p=chaz%2Fopenbox diff --git a/otk/style.cc b/otk/style.cc index fcc0ff2e..fe34bbf4 100644 --- a/otk/style.cc +++ b/otk/style.cc @@ -173,10 +173,8 @@ void Style::readDatabaseMask(const std::string &rname, PixmapMask &pixmapMask, int hx, hy; //ignored int ret = BitmapOpenFailed; //default to failure. - if (style.getValue(rname, s)) - { - if (s[0] != '/' && s[0] != '~') - { + if (style.getValue(rname, s)) { + if (s[0] != '/' && s[0] != '~') { std::string xbmFile = std::string("~/.openbox/buttons/") + s; ret = XReadBitmapFile(OBDisplay::display, root_window, expandTilde(xbmFile).c_str(), &pixmapMask.w,