summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-27 09:25:40 +0000
committerDana Jansens <danakj@orodu.net>2002-12-27 09:25:40 +0000
commit8bae1352cb401b71575106051a35a9535db1a7cd (patch)
treef3e73a7ffaf77873dc1fef01472971b6ee85e78e
parent8c2dfe5de45babd0fbc12b69cdfe30a54cf873a2 (diff)
fix braces
-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,