]> Dogcows Code - chaz/openbox/commitdiff
fix braces
authorDana Jansens <danakj@orodu.net>
Fri, 27 Dec 2002 09:25:40 +0000 (09:25 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 27 Dec 2002 09:25:40 +0000 (09:25 +0000)
otk/style.cc

index fcc0ff2e8b6ac326f3d5092a5d2c069726e50c19..fe34bbf41ec1c5e92f931e6470e2b5ac63f761ab 100644 (file)
@@ -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,
This page took 0.023912 seconds and 4 git commands to generate.