fix braces

This commit is contained in:
Dana Jansens 2002-12-27 09:25:40 +00:00
parent 8c2dfe5de4
commit 8bae1352cb

View 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,