support null title in .xoatrc

This commit is contained in:
Sean Pringle
2014-12-31 14:52:43 +10:00
parent 4241d195d6
commit 761ea77675
2 changed files with 8 additions and 1 deletions

View File

@@ -432,5 +432,11 @@ configure()
fclose(file);
regex_cache_empty();
if (settings.title && strcmp(settings.title, "null") == 0)
{
free(settings.title);
settings.title = NULL;
}
}
}