X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/8c1616628c6d488feff6ebec2c268aa30e337773..797f6ff3e6da533570a0dc074771d485619e49c8:/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);