1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12: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

@ -1000,9 +1000,9 @@ int check_compose(int first, int second)
return check_compose_internal(first, second, 0);
}
int decode_codepage(char *cp_name)
int decode_codepage(const char *cp_name)
{
char *s, *d;
const char *s, *d;
const struct cp_list_item *cpi;
int codepage = -1;
CPINFO cpinfo;