X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c3aef739857885cfc23b8aad3579032126c61e4d..c85623f918b8a6c639afc15604414f9b113bb20d:/unix/pterm.c diff --git a/unix/pterm.c b/unix/pterm.c index c2071955..402a4e7f 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -80,7 +80,7 @@ static int send_raw_mouse; static char *app_name = "pterm"; -char *x_get_default(char *key) +char *x_get_default(const char *key) { return XGetDefault(GDK_DISPLAY(), app_name, key); } @@ -88,14 +88,14 @@ char *x_get_default(char *key) /* * Default settings that are specific to pterm. */ -char *platform_default_s(char *name) +char *platform_default_s(const char *name) { if (!strcmp(name, "Font")) return "fixed"; /* COE_NORMAL works badly in an xterm */ return NULL; } -int platform_default_i(char *name, int def) +int platform_default_i(const char *name, int def) { if (!strcmp(name, "CloseOnExit")) return COE_ALWAYS; /* COE_NORMAL works badly in an xterm */