mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Saving of Default Settings under Unix was broken, because mungestr()
was translating NULL into "Default Settings" but not doing the same to "". Now fixed. [originally from svn r3096]
This commit is contained in:
parent
d710c84dec
commit
1be575d9c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user