summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otk/style.cc6
1 files changed, 2 insertions, 4 deletions
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,