summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-06-08 15:37:11 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-06-08 15:37:11 +0000
commitd769df9a59601459c26f3ba9b18b0bdba2f36855 (patch)
tree2a206b680387de1698c4bb0e1dbe14ea07776c5a
parentbe16fa30279cf6c3147536252943e686f1d7a070 (diff)
D'oh! Never set fl_font_ and fl_size_ in new mac code...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/fl_font_mac.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx
index 316d56940..8188e6ec5 100644
--- a/src/fl_font_mac.cxx
+++ b/src/fl_font_mac.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_font_mac.cxx,v 1.1.2.7 2002/06/08 13:07:19 easysw Exp $"
+// "$Id: fl_font_mac.cxx,v 1.1.2.8 2002/06/08 15:37:11 easysw Exp $"
//
// MacOS font selection routines for the Fast Light Tool Kit (FLTK).
//
@@ -130,6 +130,8 @@ int fl_size_ = 0;
void fl_font(int fnum, int size) {
if (fnum == fl_font_ && size == fl_size_) return;
+ fl_font_ = fnum;
+ fl_size_ = size;
fl_font(find(fnum, size));
}
@@ -155,5 +157,5 @@ void fl_draw(const char* str, int n, int x, int y) {
}
//
-// End of "$Id: fl_font_mac.cxx,v 1.1.2.7 2002/06/08 13:07:19 easysw Exp $".
+// End of "$Id: fl_font_mac.cxx,v 1.1.2.8 2002/06/08 15:37:11 easysw Exp $".
//