Now that we have Subversion's file renaming ability, it's time at
[u/mdw/putty] / windows / windefs.c
CommitLineData
5a9eb105 1/*
2 * windefs.c: default settings that are specific to Windows.
3 */
4
5a9eb105 5#include "putty.h"
6
7440fd44 7#include <commctrl.h>
8
9a30e26b 9FontSpec 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
23Filename 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
c85623f9 33char *platform_default_s(const char *name)
5a9eb105 34{
5a9eb105 35 return NULL;
36}
37
c85623f9 38int platform_default_i(const char *name, int def)
5a9eb105 39{
5a9eb105 40 return def;
41}