Change the semantics of 'FontSpec' so that it's a dynamically
[u/mdw/putty] / windows / winstuff.h
index 8738ccf..e23ed4e 100644 (file)
@@ -21,11 +21,13 @@ struct Filename {
 #define f_open(filename, mode, isprivate) ( fopen((filename).path, (mode)) )
 
 struct FontSpec {
-    char name[64];
+    char *name;
     int isbold;
     int height;
     int charset;
 };
+struct FontSpec *fontspec_new(const char *name,
+                               int bold, int height, int charset);
 
 #ifndef CLEARTYPE_QUALITY
 #define CLEARTYPE_QUALITY 5