X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/1409c1b3e8a10189f89c4f50609cd5d1c8221385..5a9eb1056517b6ee6efa526a3a6b5a21aa802648:/windefs.c diff --git a/windefs.c b/windefs.c new file mode 100644 index 00000000..88e9fe61 --- /dev/null +++ b/windefs.c @@ -0,0 +1,25 @@ +/* + * windefs.c: default settings that are specific to Windows. + */ + +#include +#include + +#include "winstuff.h" +#include "puttymem.h" + +#include "putty.h" + +char *platform_default_s(char *name) +{ + if (!strcmp(name, "Font")) + return "Courier New"; + return NULL; +} + +int platform_default_i(char *name, int def) +{ + if (!strcmp(name, "FontCharSet")) + return ANSI_CHARSET; + return def; +}