diff --git a/critbit b/critbit
index ee7a32b9b..934c2dd94 160000
--- a/critbit
+++ b/critbit
@@ -1 +1 @@
-Subproject commit ee7a32b9b8986bf2ea6b287975f9ef0ec997b7a3
+Subproject commit 934c2dd94d41da19637a76a1a8b3dfeb7aa8524d
diff --git a/res/core/messages.xml b/res/core/messages.xml
index e5ede1bef..15de4a153 100644
--- a/res/core/messages.xml
+++ b/res/core/messages.xml
@@ -22,9 +22,9 @@
- "$unit($unit) in $region($region): '$order($command)' - Ungültige Zielregion."
- "$unit($unit) in $region($region): '$order($command)' - invalid target region."
+ "$unit($unit) in $region($region): '$order($command)' - Ungültige Zielregion."
+ "$unit($unit) in $region($region): '$order($command)' - invalid target region."
@@ -32,9 +32,9 @@
- "$unit($unit) in $region($region): '$order($command)' - keine Richtung angegeben."
- "$unit($unit) in $region($region): '$order($command)' - no direction was specified."
+ "$unit($unit) in $region($region): '$order($command)' - keine Richtung angegeben."
+ "$unit($unit) in $region($region): '$order($command)' - no direction was specified."
@@ -42,9 +42,9 @@
- "$unit($unit) in $region($region): '$order($command)' - In der Zielregion befinden sich noch Einheiten."
- "$unit($unit) in $region($region): '$order($command)' - There are units in the target region."
+ "$unit($unit) in $region($region): '$order($command)' - In der Zielregion befinden sich noch Einheiten."
+ "$unit($unit) in $region($region): '$order($command)' - There are units in the target region."
diff --git a/src/kernel/xmlreader.c b/src/kernel/xmlreader.c
index 86a49983a..e1e476cd6 100644
--- a/src/kernel/xmlreader.c
+++ b/src/kernel/xmlreader.c
@@ -1981,6 +1981,7 @@ static int parse_messages(xmlDocPtr doc)
/* strings */
xpath->node = node;
result = xmlXPathEvalExpression(BAD_CAST "text", xpath);
+ assert(result->nodesetval->nodeNr>0);
for (k = 0; k != result->nodesetval->nodeNr; ++k) {
xmlNodePtr node = result->nodesetval->nodeTab[k];
struct locale *lang;