mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 10:07:39 -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:
4
dialog.h
4
dialog.h
@ -567,8 +567,8 @@ void dlg_listbox_select(union control *ctrl, void *dlg, int index);
|
||||
void dlg_text_set(union control *ctrl, void *dlg, char const *text);
|
||||
void dlg_filesel_set(union control *ctrl, void *dlg, Filename fn);
|
||||
void dlg_filesel_get(union control *ctrl, void *dlg, Filename *fn);
|
||||
void dlg_fontsel_set(union control *ctrl, void *dlg, FontSpec fn);
|
||||
void dlg_fontsel_get(union control *ctrl, void *dlg, FontSpec *fn);
|
||||
void dlg_fontsel_set(union control *ctrl, void *dlg, FontSpec *fn);
|
||||
FontSpec *dlg_fontsel_get(union control *ctrl, void *dlg);
|
||||
/*
|
||||
* Bracketing a large set of updates in these two functions will
|
||||
* cause the front end (if possible) to delay updating the screen
|
||||
|
Reference in New Issue
Block a user