mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 09:07:33 -05:00
Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a
holdout static I hadn't noticed; unicode.c had one too; and a large number of statics that were perfectly OK due to being constants have been made `const', with assorted `const' repercussions all over the place. I now declare `remove-statics' to be fixed. [originally from svn r2594]
This commit is contained in:
@ -10,14 +10,14 @@
|
||||
|
||||
#include "putty.h"
|
||||
|
||||
char *platform_default_s(char *name)
|
||||
char *platform_default_s(const char *name)
|
||||
{
|
||||
if (!strcmp(name, "Font"))
|
||||
return "Courier New";
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int platform_default_i(char *name, int def)
|
||||
int platform_default_i(const char *name, int def)
|
||||
{
|
||||
if (!strcmp(name, "FontCharSet"))
|
||||
return ANSI_CHARSET;
|
||||
|
Reference in New Issue
Block a user