all repos — fluxbox @ 0a5cba1261a3ef6315f3c74d09a4439758b3ddf7

custom fork of the fluxbox windowmanager

expand filename
fluxgen fluxgen
commit

0a5cba1261a3ef6315f3c74d09a4439758b3ddf7

parent

4a1fd349f82d9d7e5ae1d87e9b080e5c07419218

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M src/FbTk/Theme.ccsrc/FbTk/Theme.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.cc,v 1.14 2003/08/28 14:18:36 fluxgen Exp $ +// $Id: Theme.cc,v 1.15 2003/08/28 15:12:36 fluxgen Exp $ #include "Theme.hh"

@@ -30,7 +30,7 @@ #include "Texture.hh"

#include "App.hh" #include "Image.hh" #include "PixmapWithMask.hh" - +#include "StringUtil.hh" #include <cstdio> #include <memory>

@@ -227,8 +227,8 @@ return true;

} bool ThemeManager::load(const std::string &filename) { - - if (!m_database.load(filename.c_str())) + + if (!m_database.load(FbTk::StringUtil::expandFilename(filename).c_str())) return false; //get list and go throu all the resources and load them