source: filezilla/trunk/fuentes/src/putty/windows/windefs.c @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 691 bytes
Line 
1/*
2 * windefs.c: default settings that are specific to Windows.
3 */
4
5#include "putty.h"
6
7#include <commctrl.h>
8
9FontSpec *platform_default_fontspec(const char *name)
10{
11    if (!strcmp(name, "Font"))
12        return fontspec_new("Courier New", 0, 10, ANSI_CHARSET);
13    else
14        return fontspec_new("", 0, 0, 0);
15}
16
17Filename *platform_default_filename(const char *name)
18{
19    if (!strcmp(name, "LogFileName"))
20        return filename_from_str("putty.log");
21    else
22        return filename_from_str("");
23}
24
25char *platform_default_s(const char *name)
26{
27    if (!strcmp(name, "SerialLine"))
28        return dupstr("COM1");
29    return NULL;
30}
31
32int platform_default_i(const char *name, int def)
33{
34    return def;
35}
Note: See TracBrowser for help on using the repository browser.