~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Private files saved on Unix should have mode 0600, not 0700. They're
[sgt/putty]
/
unix
/
uxplink.c
diff --git
a/unix/uxplink.c
b/unix/uxplink.c
index
aeb37f6
..
37c8533
100644
(file)
--- a/
unix/uxplink.c
+++ b/
unix/uxplink.c
@@
-125,21
+125,17
@@
int platform_default_i(const char *name, int def)
return def;
}
return def;
}
-FontSpec platform_default_fontspec(const char *name)
+FontSpec
*
platform_default_fontspec(const char *name)
{
{
- FontSpec ret;
- *ret.name = '\0';
- return ret;
+ return fontspec_new("");
}
}
-Filename platform_default_filename(const char *name)
+Filename
*
platform_default_filename(const char *name)
{
{
- Filename ret;
if (!strcmp(name, "LogFileName"))
if (!strcmp(name, "LogFileName"))
-
strcpy(ret.path,
"putty.log");
+
return filename_from_str(
"putty.log");
else
else
- *ret.path = '\0';
- return ret;
+ return filename_from_str("");
}
char *x_get_default(const char *key)
}
char *x_get_default(const char *key)