diff options
Diffstat (limited to 'lib/engine.cc')
-rw-r--r-- | lib/engine.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/engine.cc b/lib/engine.cc index a52aa1b..357de32 100644 --- a/lib/engine.cc +++ b/lib/engine.cc @@ -115,10 +115,13 @@ int mogltk::engine::postsetup() throw(GeneralException) { postsetuped = true; - if (glbase_o) + if (glbase_o) { mogltk::SystemFont = new mogltk::glfont(&Input("font.bin")); - else + mogltk::FixedFont = new mogltk::glfont(&Input("fixed-font.bin")); + } else { mogltk::SystemFont = new mogltk::font(&Input("font.bin")); + mogltk::FixedFont = new mogltk::font(&Input("fixed-font.bin")); + } return 0; } |