Ich bin ein Trottel... Pointerfix

This commit is contained in:
Enno Rehling 2004-01-25 10:02:12 +00:00
parent 039e239d35
commit aeebd61bee
1 changed files with 3 additions and 3 deletions

View File

@ -1010,14 +1010,14 @@ get_seen_interval(region ** first, region ** last)
region * r = regions; region * r = regions;
while (r!=NULL) { while (r!=NULL) {
if (find_seen(r)!=NULL) { if (find_seen(r)!=NULL) {
first = r; *first = r;
break; break;
} }
r = r->next; r = r->next;
} }
while (r!=NULL) { while (r!=NULL) {
if (find_seen(r)!=NULL) { if (find_seen(r)!=NULL) {
last = r; *last = r;
} }
r = r->next; r = r->next;
} }
@ -1034,7 +1034,7 @@ report_computer(FILE * F, faction * f, const faction_list * addresses,
ship *sh; ship *sh;
unit *u; unit *u;
const char * mailto = locale_string(f->locale, "mailto"); const char * mailto = locale_string(f->locale, "mailto");
region * first, * last; region * first = NULL, * last = NULL;
const attrib * a; const attrib * a;
get_seen_interval(&first, &last); get_seen_interval(&first, &last);