X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftable.cpp;h=67a93bc5bbaf0ccb1466350b90a006006e96c0e6;hb=11d1b67a9180a0e468b56e355fbe0c88d104ef72;hp=936be5cc61b032bb4c94ca7622a54e138fd5dbbd;hpb=b8bfaf14b5c68428cf34c0e8514e03cd0614ee5b;p=libs%2Fgltk.git diff --git a/source/table.cpp b/source/table.cpp index 936be5c..67a93bc 100644 --- a/source/table.cpp +++ b/source/table.cpp @@ -57,7 +57,7 @@ void Table::render_special(const Part &part) const if(part.get_name()=="cells") { const GL::Font *const font = style->get_font(); - const float font_size = font->get_default_size(); + float font_size = style->get_font_size(); unsigned free_width = geom.w; for(unsigned i=0; i