forked from github/server
== != !=
This commit is contained in:
parent
3316243651
commit
2a76decdb3
|
@ -465,7 +465,7 @@ leave_trail(unit * u, region **route, region * to)
|
|||
a = a->nexttype;
|
||||
}
|
||||
|
||||
if (a!=NULL) {
|
||||
if (a==NULL) {
|
||||
a = a_add(&(r->attribs), a_new(&at_traveldir_new));
|
||||
td = (traveldir *)a->data.v;
|
||||
td->no = sh->no;
|
||||
|
|
|
@ -932,7 +932,7 @@ xml_readstrings(xmlXPathContextPtr xpath, xmlNodePtr * nodeTab, int nodeNr, bool
|
|||
locale_setstring(lang, zName, xml_to_locale(text));
|
||||
xmlFree(text);
|
||||
} else {
|
||||
log_warning(("string %s has no test in locale %s\n",
|
||||
log_warning(("string %s has no text in locale %s\n",
|
||||
zName, locale_name(lang)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue