1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-30 00:04:49 -05:00

settings.c: missing 'const' in gppfont().

This commit is contained in:
Simon Tatham 2023-09-22 12:56:47 +01:00
parent bdbd5f429c
commit cfdff822c4

View File

@ -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);