summaryrefslogtreecommitdiff
path: root/lib/engine.cc
diff options
context:
space:
mode:
authorpixel <pixel>2004-07-13 06:20:33 +0000
committerpixel <pixel>2004-07-13 06:20:33 +0000
commit652aa99bd5fddbb4ee878ddd65ac637a134dbcbc (patch)
tree84c0c8f8bbb943a570d4e6d245f7410633c0fb42 /lib/engine.cc
parentbaac659433417ee555e3e04a28ea6c06fa23d588 (diff)
Fixed font bug + adding fixed font
Diffstat (limited to 'lib/engine.cc')
-rw-r--r--lib/engine.cc7
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;
}