rename numnodes -> nunodes

Numnodes has already been use elsewhere
This commit is contained in:
Holger Vogt 2021-02-20 18:01:32 +01:00
parent 3590153fad
commit e425d355c6
2 changed files with 3 additions and 3 deletions

View File

@ -874,7 +874,7 @@ struct card *inp_deckcopy_oc(struct card * deck)
d->nf = deck->nf;
d->linenum_orig = deck->linenum;
d->linenum = i++;
d->numnodes = deck->numnodes;
d->nunodes = deck->nunodes;
d->line = copy(deck->line);
if (deck->error) {
d->error = copy(deck->error);
@ -932,7 +932,7 @@ struct card* inp_deckcopy_ln(struct card* deck)
d->nf = deck->nf;
d->linenum_orig = deck->linenum_orig;
d->linenum = deck->linenum;
d->numnodes = deck->numnodes;
d->nunodes = deck->nunodes;
d->line = copy(deck->line);
if (deck->error) {
d->error = copy(deck->error);

View File

@ -77,7 +77,7 @@ struct card_assoc {
struct card {
int linenum;
int linenum_orig;
int numnodes;
int nunodes;
char *line;
char *error;
struct card *nextcard;