mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 09:37:34 -05:00
Change the semantics of 'FontSpec' so that it's a dynamically
allocated type. The main reason for this is to stop it from taking up a fixed large amount of space in every 'struct value' subunion in conf.c, although that makes little difference so far because Filename is still doing the same thing (and is therefore next on my list). However, the removal of its arbitrary length limit is not to be sneezed at. [originally from svn r9314]
This commit is contained in:
@ -32,7 +32,7 @@ void *open_settings_w(const char *sessionname, char **errmsg);
|
||||
void write_setting_s(void *handle, const char *key, const char *value);
|
||||
void write_setting_i(void *handle, const char *key, int value);
|
||||
void write_setting_filename(void *handle, const char *key, Filename value);
|
||||
void write_setting_fontspec(void *handle, const char *key, FontSpec font);
|
||||
void write_setting_fontspec(void *handle, const char *key, FontSpec *font);
|
||||
void close_settings_w(void *handle);
|
||||
|
||||
/*
|
||||
@ -56,7 +56,7 @@ void *open_settings_r(const char *sessionname);
|
||||
char *read_setting_s(void *handle, const char *key);
|
||||
int read_setting_i(void *handle, const char *key, int defvalue);
|
||||
int read_setting_filename(void *handle, const char *key, Filename *value);
|
||||
int read_setting_fontspec(void *handle, const char *key, FontSpec *font);
|
||||
FontSpec *read_setting_fontspec(void *handle, const char *key);
|
||||
void close_settings_r(void *handle);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user