X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/3f935d5bf975b26836da2fac5cd6e3df67a5e184..cd5fe77357d536af1f77e692cc1c2226a28a4824:/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);