mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
settings.c: missing 'const' in gppfont().
(cherry picked from commit cfdff822c4
)
This commit is contained in:
parent
73b41feba5
commit
53e7d2c024
@ -146,7 +146,7 @@ static void gpps(settings_r *sesskey, const char *name, const char *def,
|
|||||||
* format of a Filename or FontSpec is platform-dependent. So the
|
* format of a Filename or FontSpec is platform-dependent. So the
|
||||||
* platform-dependent functions MUST return some sort of value.
|
* platform-dependent functions MUST return some sort of value.
|
||||||
*/
|
*/
|
||||||
static void gppfont(settings_r *sesskey, char *name,
|
static void gppfont(settings_r *sesskey, const char *name,
|
||||||
Conf *conf, int primary)
|
Conf *conf, int primary)
|
||||||
{
|
{
|
||||||
FontSpec *result = read_setting_fontspec(sesskey, name);
|
FontSpec *result = read_setting_fontspec(sesskey, name);
|
||||||
|
Loading…
Reference in New Issue
Block a user