Feature #780 » 0013-Make-root-node-case-insensitive.patch
utility/registry_xml.c | ||
---|---|---|
secfile = secfile_new(TRUE);
|
||
xmlroot = xmlDocGetRootElement(sec_doc);
|
||
if (xmlroot == NULL || strcmp((const char *)xmlroot->name, "Freeciv")) {
|
||
if (xmlroot == NULL
|
||
|| fc_strcasecmp((const char *)xmlroot->name, "Freeciv")) {
|
||
/* TRANS: do not translate <Freeciv> */
|
||
log_error(_("XML-file has no root node <Freeciv>"));
|
||
secfile_destroy(secfile);
|
- « Previous
- 1
- 2
- Next »