expand filename
fluxgen fluxgen
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/FbTk/Theme.cc
→
src/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