mirror of
https://github.com/fltk/fltk.git
synced 2026-05-26 01:46:58 +08:00
After r.10011 that removed the q_name member from class Fl_Font_Descriptor, change in gl_font() was needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+3
-2
@@ -101,8 +101,9 @@ void gl_font(int fontid, int size) {
|
||||
//http://developer.apple.com/mac/library/documentation/Carbon/Conceptual/Carbon64BitGuide/OtherAPIChanges/OtherAPIChanges.html
|
||||
short font, face, size;
|
||||
uchar fn[256];
|
||||
fn[0]=strlen(fl_fontsize->q_name);
|
||||
strcpy((char*)(fn+1), fl_fontsize->q_name);
|
||||
const char *pname = Fl::get_font_name(fontid, NULL);
|
||||
fn[0]=strlen(pname);
|
||||
strcpy((char*)(fn+1), pname);
|
||||
GetFNum(fn, &font);
|
||||
face = 0;
|
||||
size = fl_fontsize->size;
|
||||
|
||||
Reference in New Issue
Block a user