summaryrefslogtreecommitdiff
path: root/src/gl_draw.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-08-15 21:18:27 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-08-15 21:18:27 +0000
commitb6b746cd69e8ab7a55e7559c94cb14cff85316df (patch)
tree059b92c753427a09d75bc7b9c8744eab0dc82c8f /src/gl_draw.cxx
parente63c50b2d163bf0d8e110b2f3711d1b74490c483 (diff)
Replaced badly named type Fl_FontSize with Fl_Font_Descriptor. This type is only used in the core files and not available to the user.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/gl_draw.cxx')
-rw-r--r--src/gl_draw.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx
index 4b5555e7b..a360bcb2e 100644
--- a/src/gl_draw.cxx
+++ b/src/gl_draw.cxx
@@ -98,9 +98,9 @@ void gl_remove_displaylist_fonts()
for (int j = 0 ; j < FL_FREE_FONT ; ++j)
{
- Fl_FontSize* past = 0;
+ Fl_Font_Descriptor* past = 0;
Fl_Fontdesc* s = fl_fonts + j ;
- Fl_FontSize* f = s->first;
+ Fl_Font_Descriptor* f = s->first;
while (f != 0) {
if(f->listbase) {
if(f == s->first) {
@@ -113,7 +113,7 @@ void gl_remove_displaylist_fonts()
// It would be nice if this next line was in a descturctor somewhere
glDeleteLists(f->listbase, 256);
- Fl_FontSize* tmp = f;
+ Fl_Font_Descriptor* tmp = f;
f = f->next;
delete tmp;
}