This commit is contained in:
Enno Rehling 2004-04-10 11:07:41 +00:00
parent 3316243651
commit 2a76decdb3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)));
}
}