Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * windefs.c: default settings that are specific to Windows. | |
3 | */ | |
4 | ||
5 | #include <windows.h> | |
6 | #include <commctrl.h> | |
7 | ||
8 | #include "winstuff.h" | |
9 | #include "puttymem.h" | |
10 | ||
11 | #include "putty.h" | |
12 | ||
13 | char *platform_default_s(char *name) | |
14 | { | |
15 | if (!strcmp(name, "Font")) | |
16 | return "Courier New"; | |
17 | return NULL; | |
18 | } | |
19 | ||
20 | int platform_default_i(char *name, int def) | |
21 | { | |
22 | if (!strcmp(name, "FontCharSet")) | |
23 | return ANSI_CHARSET; | |
24 | return def; | |
25 | } |