Various changes related to the Subversion migration.
[u/mdw/putty] / windefs.c
1 /*
2 * windefs.c: default settings that are specific to Windows.
3 */
4
5 #include "putty.h"
6
7 #include <commctrl.h>
8
9 FontSpec platform_default_fontspec(const char *name)
10 {
11 FontSpec ret;
12 if (!strcmp(name, "Font")) {
13 strcpy(ret.name, "Courier New");
14 ret.isbold = 0;
15 ret.charset = ANSI_CHARSET;
16 ret.height = 10;
17 } else {
18 ret.name[0] = '\0';
19 }
20 return ret;
21 }
22
23 Filename platform_default_filename(const char *name)
24 {
25 Filename ret;
26 if (!strcmp(name, "LogFileName"))
27 strcpy(ret.path, "putty.log");
28 else
29 *ret.path = '\0';
30 return ret;
31 }
32
33 char *platform_default_s(const char *name)
34 {
35 return NULL;
36 }
37
38 int platform_default_i(const char *name, int def)
39 {
40 return def;
41 }