From 8bae1352cb401b71575106051a35a9535db1a7cd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 27 Dec 2002 09:25:40 +0000 Subject: [PATCH] fix braces --- otk/style.cc | 6 ++---- 1 file 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, -- 2.45.2