X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstyle.h;h=56f7ac484afce3e94fd2ee4b639b70466e32eeeb;hb=4ab33a06c9f8a85b193d7db8bc6ee9b8895aab09;hp=29c5e3430b0fca7a1581312fee3e1a2df5ac999f;hpb=11d1b67a9180a0e468b56e355fbe0c88d104ef72;p=libs%2Fgltk.git diff --git a/source/style.h b/source/style.h index 29c5e34..56f7ac4 100644 --- a/source/style.h +++ b/source/style.h @@ -47,7 +47,7 @@ private: public: Style(Resources &); - const GL::Font *get_font() const { return font; } + const GL::Font &get_font() const { return *font; } unsigned get_font_size() const { return font_size; } const GL::Color &get_font_color() const { return font_color; } const PartSeq &get_parts() const { return parts; }