forked from github/server
Crashbug und noch irgendwas, das ich vergessen habe
This commit is contained in:
parent
5ef4ca6261
commit
3686c6d27a
|
@ -380,8 +380,8 @@ void
|
|||
creport_init(void)
|
||||
{
|
||||
tsf_register("report", &cr_ignore);
|
||||
tsf_register("string", &cr_string);
|
||||
tsf_register("order", &cr_string);
|
||||
tsf_register("string", &cr_string);
|
||||
tsf_register("order", &cr_string);
|
||||
tsf_register("int", &cr_int);
|
||||
tsf_register("unit", &cr_unit);
|
||||
tsf_register("region", &cr_region);
|
||||
|
|
|
@ -2205,4 +2205,4 @@ writegame(const char *filename, char quiet)
|
|||
fclose(F);
|
||||
printf("\nOk.\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -573,7 +573,7 @@ parse_resources(xmlDocPtr doc)
|
|||
/* reading eressea/resources/resource/function */
|
||||
xpath->node = node;
|
||||
result = xmlXPathEvalExpression(BAD_CAST "function", xpath);
|
||||
for (k=0;k!=result->nodesetval->nodeNr;++k) {
|
||||
if (result->nodesetval!=NULL) for (k=0;k!=result->nodesetval->nodeNr;++k) {
|
||||
xmlNodePtr node = result->nodesetval->nodeTab[k];
|
||||
pf_generic fun;
|
||||
|
||||
|
@ -607,7 +607,7 @@ parse_resources(xmlDocPtr doc)
|
|||
/* reading eressea/resources/resource/resourcelimit/function */
|
||||
xpath->node = node;
|
||||
result = xmlXPathEvalExpression(BAD_CAST "resourcelimit/function", xpath);
|
||||
for (k=0;k!=result->nodesetval->nodeNr;++k) {
|
||||
if (result->nodesetval!=NULL) for (k=0;k!=result->nodesetval->nodeNr;++k) {
|
||||
attrib * a = a_find(rtype->attribs, &at_resourcelimit);
|
||||
xmlNodePtr node = result->nodesetval->nodeTab[k];
|
||||
pf_generic fun;
|
||||
|
|
Loading…
Reference in New Issue