From: Mikko Rasa Date: Wed, 23 Jul 2008 00:07:31 +0000 (+0000) Subject: Fix incorrect usage of DataFile::load X-Git-Tag: 0.9~2 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=94ac63c6f41227ce57790d9903039ec18a6ef3fd;p=libs%2Fgltk.git Fix incorrect usage of DataFile::load --- diff --git a/source/resources.cpp b/source/resources.cpp index 886b416..b1b129b 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -40,7 +40,7 @@ const GL::Font &Resources::get_default_font() const GL::Font *Resources::create_font(const string &name) { RefPtr fnt=new GL::Font; - DataFile::load(*fnt, (path/name).str(), *this); + DataFile::load(*fnt, (path/name).str(), *this); if(!default_font) default_font=fnt.get(); return fnt.release();