projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c2dfe5
)
fix braces
author
Dana Jansens
<danakj@orodu.net>
Fri, 27 Dec 2002 09:25:40 +0000
(09:25 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 27 Dec 2002 09:25:40 +0000
(09:25 +0000)
otk/style.cc
patch
|
blob
|
history
diff --git
a/otk/style.cc
b/otk/style.cc
index fcc0ff2e8b6ac326f3d5092a5d2c069726e50c19..fe34bbf41ec1c5e92f931e6470e2b5ac63f761ab 100644
(file)
--- 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,