X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/3f935d5bf975b26836da2fac5cd6e3df67a5e184..7440fd4419acfc9c784f142fb9dee3e64c9a18c2:/unix/uxstore.c diff --git a/unix/uxstore.c b/unix/uxstore.c index b04d557c..e12af036 100644 --- a/unix/uxstore.c +++ b/unix/uxstore.c @@ -29,7 +29,7 @@ static char *mungestr(const char *in) { char *out, *ret; - if (!in) + if (!in || !*in) in = "Default Settings"; ret = out = snewn(3*strlen(in)+1, char);