From 53e7d2c024d5e760979a66649e59c9b0aadbaafa Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 22 Sep 2023 12:56:47 +0100 Subject: [PATCH] settings.c: missing 'const' in gppfont(). (cherry picked from commit cfdff822c4e41895a866c0a77f43668737ab95f4) --- settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.c b/settings.c index bd7ca609..4f569377 100644 --- a/settings.c +++ b/settings.c @@ -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 * 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) { FontSpec *result = read_setting_fontspec(sesskey, name);