projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In the various channel request mini-coroutines, replace
[u/mdw/putty]
/
windows
/
windefs.c
diff --git
a/windows/windefs.c
b/windows/windefs.c
index
4296bb0
..
24a2ea4
100644
(file)
--- a/
windows/windefs.c
+++ b/
windows/windefs.c
@@
-14,14
+14,12
@@
FontSpec *platform_default_fontspec(const char *name)
return fontspec_new("", 0, 0, 0);
}
return fontspec_new("", 0, 0, 0);
}
-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 *platform_default_s(const char *name)
}
char *platform_default_s(const char *name)