1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

decode_codepage(): add missing const in prototype.

This commit is contained in:
Simon Tatham
2022-06-01 08:29:29 +01:00
parent a647296d51
commit 8a907510dd
3 changed files with 4 additions and 4 deletions

View File

@ -264,7 +264,7 @@ const char *cp_enumerate(int index)
return charset_to_localenc(charset);
}
int decode_codepage(char *cp_name)
int decode_codepage(const char *cp_name)
{
if (!cp_name || !*cp_name)
return CS_UTF8;