{
char *out, *ret;
- if (!in)
+ if (!in || !*in)
in = "Default Settings";
ret = out = snewn(3*strlen(in)+1, char);
return ret;
}
-/*
- * For the moment, the only existing Unix utility is pterm and that
- * has no GUI configuration at all, so our write routines need do
- * nothing. Eventually I suppose these will read and write an rc
- * file somewhere or other.
- */
-
void *open_settings_w(const char *sessionname, char **errmsg)
{
char filename[FILENAME_MAX];
* PuTTY's inbuilt defaults, but that the disk files will then
* override those. This isn't optimal, but it's the best I can
* immediately work out.
+ * FIXME: the above comment is a bit out of date. Did it happen?
*/
struct keyval {