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:
@ -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;
|
||||
|
Reference in New Issue
Block a user