Browse Source

A FIXME: The number of nodes is fixed to 4!

Better make this flexible, but how to detect this number safely?
pre-master-46
Holger Vogt 5 years ago
parent
commit
b0a2ab5729
  1. 2
      src/frontend/inp.c

2
src/frontend/inp.c

@ -2477,7 +2477,7 @@ static void rem_unused_mos_models(struct card* deck) {
}
/* what is the device's model name? */
char* mname = nexttok(curr_line);
int nonodes = 4;
int nonodes = 4; /* FIXME: this is a hack! How to really detect the number of nodes? */
int jj;
for (jj = 0; jj < nonodes; jj++) {
mname = nexttok(mname);

Loading…
Cancel
Save