From d769df9a59601459c26f3ba9b18b0bdba2f36855 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 8 Jun 2002 15:37:11 +0000 Subject: 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 --- src/fl_font_mac.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 $". // -- cgit v1.2.3