mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 20:12:48 -05:00
Turn 'Filename' into a dynamically allocated type with no arbitrary
length limit, just as I did to FontSpec yesterday. [originally from svn r9316]
This commit is contained in:
@ -13,9 +13,9 @@
|
||||
#include "charset.h"
|
||||
|
||||
struct Filename {
|
||||
char path[FILENAME_MAX];
|
||||
char *path;
|
||||
};
|
||||
FILE *f_open(struct Filename, char const *, int);
|
||||
FILE *f_open(const struct Filename *, char const *, int);
|
||||
|
||||
struct FontSpec {
|
||||
char *name; /* may be "" to indicate no selected font at all */
|
||||
|
Reference in New Issue
Block a user