From 2a76decdb3ac0e633a6710dac62ff2561b021957 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 10 Apr 2004 11:07:41 +0000 Subject: [PATCH] == != != --- src/common/kernel/movement.c | 2 +- src/common/kernel/xmlreader.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/kernel/movement.c b/src/common/kernel/movement.c index 1bd31f878..5e084744b 100644 --- a/src/common/kernel/movement.c +++ b/src/common/kernel/movement.c @@ -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; diff --git a/src/common/kernel/xmlreader.c b/src/common/kernel/xmlreader.c index 4c4894603..e63589f72 100644 --- a/src/common/kernel/xmlreader.c +++ b/src/common/kernel/xmlreader.c @@ -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))); } }