~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update signature of agent_query() to match the rest of the world.
[sgt/putty]
/
unicode.c
diff --git
a/unicode.c
b/unicode.c
index
0242733
..
c68017a
100644
(file)
--- a/
unicode.c
+++ b/
unicode.c
@@
-1094,7
+1094,7
@@
int decode_codepage(char *cp_name)
return codepage;
}
return codepage;
}
-char *cp_name(int codepage)
+c
onst c
har *cp_name(int codepage)
{
const struct cp_list_item *cpi, *cpno;
static char buf[32];
{
const struct cp_list_item *cpi, *cpno;
static char buf[32];
@@
-1134,7
+1134,7
@@
char *cp_name(int codepage)
* Return the nth code page in the list, for use in the GUI
* configurer.
*/
* Return the nth code page in the list, for use in the GUI
* configurer.
*/
-char *cp_enumerate(int index)
+c
onst c
har *cp_enumerate(int index)
{
if (index < 0 || index >= lenof(cp_list))
return NULL;
{
if (index < 0 || index >= lenof(cp_list))
return NULL;