changeset 61657:8af99087c1e5

(MacFontStruct): Remove member `fontname'. Add member `full_name'. [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for mac_scriptcode member.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 19 Apr 2005 12:03:38 +0000
parents 23324e660890
children 38a086380ddc
files src/macgui.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macgui.h	Tue Apr 19 10:11:41 2005 +0000
+++ b/src/macgui.h	Tue Apr 19 12:03:38 2005 +0000
@@ -101,12 +101,16 @@
    (xcs).descent = (bds).bottom)
 
 struct MacFontStruct {
-  char *fontname;
+  char *full_name;
 
   short mac_fontnum;  /* font number of font used in this window */
   int mac_fontsize;  /* size of font */
   short mac_fontface;  /* plain, bold, italics, etc. */
+#if TARGET_API_MAC_CARBON
+  int mac_scriptcode;  /* Mac OS script code for font used */
+#else
   short mac_scriptcode;  /* Mac OS script code for font used */
+#endif
 
 #if 0
   SInt16 mFontNum;  /* font number of font used in this window */