Change the semantics of 'FontSpec' so that it's a dynamically
[u/mdw/putty] / unix / unix.h
index faf5600..aa44c9b 100644 (file)
@@ -18,8 +18,9 @@ struct Filename {
 FILE *f_open(struct Filename, char const *, int);
 
 struct FontSpec {
-    char name[256];
+    char *name;    /* may be "" to indicate no selected font at all */
 };
+struct FontSpec *fontspec_new(const char *name);
 
 typedef void *Context;                 /* FIXME: probably needs changing */